All Products
Search
Document Center

Drive and Photo Service:GetLinkInfo

Last Updated:May 26, 2026

Retrieves account information.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /v2/account/get_link_info HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

domain_id

string

Yes

The domain ID.

body

object

No

The request body parameters.

type

string

Yes

The account type. Valid values:

  • mobile: A mobile number.

  • email: An email address.

  • ding: A DingTalk account.

  • ram: An Alibaba Cloud RAM user.

  • wechat: A WeCom account.

  • ldap: An LDAP account.

  • custom: A custom account.

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 mobile, this is the country calling code.

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.