auth

Issue a new token pair scoped to another organization the account belongs to.

post/auth/switch

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/auth/switch
  • Auth: HTTP bearer

Request body

$schemastring uri

A URL to the JSON Schema for this object.

organization_idstring uuid required

Example request

{
  "$schema": "/api/v1/schemas/SwitchOrgInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

account_idstring

Example response

{
  "$schema": "/api/v1/schemas/LoginOutputBody.json"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.