organizations

Delete Active Organization

Changed on

Delete the caller's active organization, if it has no usage, and move the caller out of it.

Owners and admins only. Its workspaces, memberships, invitations and organization-level settings go with it. Refused for the deployment's default organization, for the only organization the caller belongs to, and for one whose workspaces still hold usage, API keys, aliases or routing policies, so a deletion never takes spend history with it.

Answers with the caller's context in the organization they are moved to, their oldest other one.

delete/api/v1/organizations/me

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header Otari-Key
    • API key in header x-api-key

Response

Successful Response

byo_provider_keys_allowedboolean
deployment_operatorboolean
organization_member_idstring uuid required
provider_key_encryption_availableboolean
rolestring required
statusstring required

Changes