EndpointsDelete organization

Organizations

Delete organization

Soft-deletes an Organization (AIP-164): its invitations and policy are erased at once and it reads as deleted until purge_at. Refused with 409 while a Workspace remains in it.

DEL/organizations/{id}
Authorizationstringheaderrequired

Bearer token for the authenticated caller.

Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.

Required string length: 1 - 64

Example: "create-prod-2026-05-07"

if-matchstring

The etag of the resource version the client last read. Required on writes when the resource exposes an etag field. Mismatch returns 409 ABORTED with the current etag in the error metadata.

Required string length: 1 - 256

Example: "42"

idstringrequired

Organization ID, org_<id>.

Required string length: 3 - 54

Response

application/json

Organization deleted

idstringrequired

Organization ID, org_<id>.

Required string length: 3 - 54

namestring | nullrequired

Null once the Organization is deleted: delete erases it at once.

Required string length: 1 - 50

Pattern: ^(?=.*\S)[^\p{Cc}\p{Zl}\p{Zp}]+$

Example: "Code Zero"

stateenum<string>required

deleted: soft-deleted until purge_at; afterwards the Organization is not found.

Available options: active, deleted

created_atintegerrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

updated_atintegerrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

deleted_atinteger | nullrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

purge_atinteger | nullrequired

Unix timestamp (seconds)

Required range: 0 <= x <= 9007199254740991

etagstringrequired

Pass as If-Match to delete only this version. OUTPUT_ONLY.

Maximum string length: 64