Profile
Retrieve the current user profile and switch the active account.
Some user-scoped workflows need to know which account the current user is working in.
The profile endpoints return the current authenticated user and let user credentials set the active account for subsequent user-scoped requests.
Profile operations require a user principal. They are not suitable for account credentials.
Retrieve profile
Retrieve the current authenticated user’s profile.
Response
The response includes the accounts available to the user and the current active account.
Switch active account
Set the active account for the current user.
Switching the active account changes the account context for subsequent user-scoped requests. Make sure you are using the intended account id.

