DELETE
/
v2
/
enterprise
/
organizations
/
{org_id}
curl -X DELETE "https://api.devin.ai/v2/enterprise/organizations/org_123" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "status": "success"
}
Delete an organization from your enterprise.
This action cannot be undone. The organization will be permanently deleted along with all user memberships. You cannot delete the primary organization of your enterprise.

Path Parameters

org_id
string
required
The unique identifier of the organization to delete

Response

status
string
required
Status of the operation, typically “success”
curl -X DELETE "https://api.devin.ai/v2/enterprise/organizations/org_123" \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "status": "success"
}