All Products
Search
Document Center

Expenses and Costs:RelieveAccountRelation

Last Updated:Oct 28, 2025

Disassociates a RAM user from an Alibaba Cloud 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 parameters

Parameter

Type

Required

Description

Example

RelationType

string

No

The relationship type. Only enterprise_group is supported.

enterprise_group

ParentUserId

integer

No

The UID of the Alibaba Cloud account. You must specify either the RelationId parameter, or the ParentUserId, ChildUserId, and RelationType parameters.

1738376485192612

ChildUserId

integer

No

The UID of the RAM user. You must specify either the RelationId parameter, or the ParentUserId, ChildUserId, and RelationType parameters.

1512996702208737

RequestId

string

Yes

The unique ID of the request. This ID is used to troubleshoot issues.

request_id

RelationId

integer

No

The ID of the account association. You must specify either the RelationId parameter, or the ParentUserId, ChildUserId, and RelationType parameters.

RelationId

Response elements

Parameter

Type

Description

Example

object

Code

string

The status code.

200

Message

string

The returned message.

Message returned

RequestId

string

The unique ID of the request.

request_id

Success

boolean

Indicates whether the request was successful.

true

Data

object

The returned data.

HostId

string

The ID of the host.

HostId

Examples

Success response

JSON format

{
  "Code": "200",
  "Message": "Message returned\n",
  "RequestId": "request_id",
  "Success": true,
  "Data": {
    "HostId": "HostId"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.