Retrieves account information.
Try it now
Test
RAM authorization
Request syntax
POST /v2/account/get_link_info HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| domain_id |
string |
Yes |
|
|
| body |
object |
No |
The request body parameters. |
|
| type |
string |
Yes |
The account type. Valid values:
|
mobile |
| identity |
string |
Yes |
The account's unique identifier, such as a mobile number. |
130*** |
| extra |
string |
No |
Additional information for the unique identifier. For example, if the account type is |
1 |
Response elements
|
Element |
Type |
Description |
Example |
| AccountLinkInfo |
The user account information. |
Examples
Success response
JSON format
{
"domain_id": "bj1",
"authentication_type": "mobile",
"identity": "136***000",
"extra": "86",
"user_id": "00016a587b62b50003deea299a4f5b50",
"created_at": 1639762579768,
"display_name": "001",
"status": "normal",
"last_login_time": 1639762579769
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.