Skip to main content
DELETE
https://allomia.com
/
api
/
organization
/
{id}
Delete Organization
curl --request DELETE \
  --url https://allomia.com/api/organization/{id} \
  --header 'Authorization: <authorization>'
{
  "message": "<string>",
  "organizationId": "<string>"
}

Delete Organization

Soft deletes an organization (marks as inactive). This endpoint requires a valid tenant API key for authentication.

Headers

Authorization
string
required
API key is required. Enter your tenant-specific API key in the format ‘Bearer YOUR-API-KEY’

Path Parameters

id
string
required
The unique identifier of the organization to delete

Response

message
string
A success message confirming the organization was deleted
organizationId
string
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"
}