Skip to main content
POST
/
sessions
/
switch-organization
Switch active organization
curl --request POST \
  --url https://auth.platform.arb.inc/sessions/switch-organization \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "organizationId": "2720f109-0caf-4c62-af22-5d08c853711c"
}
'

Authorizations

Authorization
string
header
required

access token

Body

application/json
organizationId
string<uuid>
required

The organization ID to switch to (empty string to clear organization context)

Example:

"2720f109-0caf-4c62-af22-5d08c853711c"

Response

Session organization successfully switched