cURL
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" } '
Switches the active organization context for the current session. The user must be a member of the organization to switch to it.
access token
The organization ID to switch to (empty string to clear organization context)
"2720f109-0caf-4c62-af22-5d08c853711c"
Session organization successfully switched