organizations

Switch Active Organization

Changed on

Point the caller's identity at another organization they belong to.

Distinct from PATCH /me, which renames the organization already active. This changes which organization every later request is scoped to, so workspaces, keys, budgets and usage all follow it. Answers 404 for an organization the caller holds no active membership in, whether or not it exists.

post/api/v1/organizations/me/switch

Request

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

Request body

organization_idstring uuid required

Response

Successful Response

byo_provider_keys_allowedboolean
deployment_operatorboolean
organization_member_idstring uuid required
provider_key_encryption_availableboolean
rolestring required
statusstring required

Changes

    • info

      added the optional property to the response with the status

    • info

      added the required property // to the response with the status