Skip to main content
DELETE
/
api
/
organizations
/
{id}
Delete an organization (superadmin only)
curl --request DELETE \
  --url https://your-instance.example.com/api/organizations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "<string>",
  "error": "<string>",
  "details": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Organization deleted

success
boolean
message
string
error
string
details
string