This endpoint allows a user to switch their operational context to a specified organization. This is useful for users who are part of multiple organizations and need to operate within a specific organizational context. When a context switch is successful, a new accessToken is provided for continued authentication within the new context.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.aladia.io/v2/auth/switch-context/'
Response Response Example
200 - Success
{"accessToken":"string"}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.