ConnectCloud Developers

Delete an activity (tenant:crm:write)

DELETE /api/crm/v1/activities/{id}

Module: CRM · operationId: deleteActivity · Tag: Activities · Auth: access token (Authorization: Bearer <accessToken>)

SYSTEM entries cannot be deleted (409, system_activity), nor e-mails sent through comms (409, activity_locked). Emits crm.activity.deleted.

Parameters

Name In Type Required Description
id path string (uuid) yes Record ID (UUID).

Responses

  • 204 Deleted
  • 401 Missing, invalid or expired token (no body).
  • 403 The token lacks the permission (insufficient permissions) or has no active tenant. (application/json)
  • 404 The record does not exist in the token's tenant. (application/json)
  • 409 The state of the record (or the tenant's settings) does not allow the request; code says why. (application/json)
  • 500 Unexpected error; details are only logged. (application/json)

Example request

curl -X DELETE 'https://api.mbcom.cloud/api/crm/v1/activities/3f2b8c1e-6d4a-4f7b-9a2e-1c5d7e9f0a12' \
  -H "Authorization: Bearer $ACCESS_TOKEN"

View as Markdown · Interactive reference · OpenAPI