ConnectCloud Developers

Delete an opportunity (tenant:crm:write)

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

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

Deletes the opportunity permanently. Emits crm.opportunity.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)
  • 500 Unexpected error; details are only logged. (application/json)

Example request

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

View as Markdown · Interactive reference · OpenAPI