Retrieves the information about a user by using the user token.
Try it now
Test
RAM authorization
Request syntax
GET /v2/{instanceId}/{applicationId}/oauth2/userinfo HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
The authentication information. Format: Bearer ${access_token}. Example: Bearer ATxxxx. |
Bearer xxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
|
any |
The user information. |
无 |
Examples
Success response
JSON format
{
"key": "无"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.