Get Access Token Info
Use this API instead:
- /scim/v2/Users
The user information includes all user related fields (which are also part of the associated user ID token). Group ids and names are included.The API diverges from the CSP API on 1) 'email_verified' field which is currently not provided by this API and 2) the 'sub' field which contains user ID only in contrast with CSP thatcontains '
Access Policy
Role | Access |
---|---|
Anonymous | ✔️ |
Authorization
OK
{
"username": "string",
"email": "string",
"domain": "string",
"acct": "string",
"context": "string",
"sub": "string",
"given_name": "string",
"family_name": "string",
"email_verified": false,
"group_names": [
"string"
],
"group_ids": [
"string"
],
"context_name": "string"
}
The user's username.
The user's email.
The domain the user belongs to.
The user's account identifier, the acct claim can be a combination of the user's username and domain in URLEncoded(username)@domain format or the user's email or the UPN of the user.
The context in which the token was issued.
The user on behalf of which the token was issued.
The user's given name.
The user's family name.
True if the user's e-mail address has been verified; otherwise false.
Names of the groups the user belongs to.
Identifiers of the groups the user belongs to.
The context name in which the token was issued.
The user is not authorized to use the API.
"UserTokenResponse Object"
The user's username.
The user's email.
The domain the user belongs to.
The user's account identifier, the acct claim can be a combination of the user's username and domain in URLEncoded(username)@domain format or the user's email or the UPN of the user.
The context in which the token was issued.
The user on behalf of which the token was issued.
The user's given name.
The user's family name.
True if the user's e-mail address has been verified; otherwise false.
Names of the groups the user belongs to.
Identifiers of the groups the user belongs to.
The context name in which the token was issued.
curl -H 'Authorization: <value>' https://{api_host}/csp/gateway/am/api/userinfo