SMAO API Documentation
Distributor API v1Organizations

Delete organization

DELETE
/organizations/{organizationId}

Permanently delete a partner-managed organization and all associated data including subscriptions, invitations, assistants, calls, contacts, knowledge, recordings, and files. This action is irreversible.

Returns 409 ORG_DELETION_BLOCKED while the organization has calls that are active or still being finalized, has jobs still processing, or is busy with another change, such as a call being admitted or another deletion. A refused attempt normally removes nothing and leaves the organization as it was; retry later. Only when a call starts after the deletion has begun removing data does the organization stay unusable; then retry until the deletion succeeds.

Authorization

DistributorApiKey
AuthorizationBearer <token>

Long-lived distributor API key, scoped to your distributor account.

In: header

Path Parameters

organizationId*string

Organization ID (24-character hex string).

Match^[a-fA-F0-9]{24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/organizations/665abc123def456789012345"
{  "status": "success",  "message": "Organization deleted."}