Switch to a different organization that the user belongs to. This endpoint revokes the current token and generates a new access token for the target organization.
Requirements:
Note: After switching, the previous access token is revoked. You must use the new token returned in the response.
Use a valid Bearer token to authenticate.
The user ID to switch to. This can be obtained from the organizations array returned by Get User Organizations endpoint.
Switch successful - returns new access token and user data