All Products
Search
Document Center

Drive and Photo Service:UnLinkAccount

Last Updated:May 27, 2026

Unlinks a specified identity from a user account.

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/unlink HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

domain_id

string

Yes

The domain ID.

body

object

No

The request body.

user_id

string

Yes

The user ID.

uid1

type

string

Yes

The account type. Valid values:

mobile: Mobile number

email: Email address

ding: DingTalk account

ram: Alibaba Cloud RAM sub-account

wechat: WeCom account

ldap: LDAP account

custom: Custom account

mobile

identity

string

Yes

The account's unique identifier, such as a mobile number.

139****

extra

string

No

Additional information about the identity. For mobile accounts, this parameter specifies the country code. The default value is 86 (mainland China).

1

Response elements

Element

Type

Description

Example

None defined.

Examples

Success response

JSON format

{}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.