Delete Organization
Soft deletes an organization (marks as inactive). This endpoint requires a valid tenant API key for authentication.
API key is required. Enter your tenant-specific API key in the format ‘Bearer
YOUR-API-KEY’
Path Parameters
The unique identifier of the organization to delete
Response
A success message confirming the organization was deleted
The unique identifier of the deleted organization
Example Request
curl -X DELETE https://allomia.com/api/organization/a1b2c3d4-e5f6-7890-abcd-123456789012 \
-H "Authorization: Bearer YOUR-API-KEY"
Example Response
{
"message": "Organization successfully deleted",
"organizationId": "a1b2c3d4-e5f6-7890-abcd-123456789012"
}