Disassociates a RAM user from an Alibaba Cloud account.
Try it now
Test
RAM authorization
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.