Organizations

Delete an organization (superadmin only)

DELETE
/api/organizations/{id}

Hard-deletes the Organization document by id. Restricted to SUPERADMIN. Note: associated users/credentials/dynamic-properties/etc. are not cascaded by this endpoint.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/organizations/string"
{  "success": true,  "message": "Organization deleted successfully"}