Delete Organisation
Delete an organisation.
Authorization: caller must be the owner - a real membership row is required even for a global-access caller, since this is destructive and PUT {is_active: false} is the intended admin-facing equivalent. Personal organisations cannot be deleted through this endpoint.
Most org-scoped resources cascade or detach automatically via each table's ON DELETE rule. Bundle deployments still billing this organisation and any billing ledger history block the delete instead - see OrganisationProvider.delete for the per-resource rationale.
Authorization
OAuth2AuthorizationCodeBearer In: header
Path Parameters
uuidQuery Parameters
Delete bundle deployments still billing this organisation (and everything cascaded from them - agents, conversations, credentials) along with it. Billing ledger history always blocks deletion regardless of this flag.
falsetrueResponse Body
application/json
curl -X DELETE "https://example.com/v1/organisations/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}