Adds or deletes permissions for an account linking relationship.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
RelationType | string | No | The relationship type. Currently, only enterprise_group is supported. | enterprise_group |
RelationOperation | string | Yes | The action to perform. Valid values:
| ADD |
ParentUserId | integer | No | The UID of the Alibaba Cloud account. | 1738376485192612 |
ChildNick | string | No | The display name. This name is shown on the page to help you identify the use case of the account. | Display name of the member |
ChildUserId | integer | No | The UID of the member account. | 1512996702208737 |
RequestId | string | Yes | The unique ID of the request. This ID is used to mark a request and troubleshoot issues. | request_id |
| RoleCodes | array | No | Modifying roles is not supported. | trusteeship |
string | No | The role code. | trusteeship | |
| PermissionCodes | array | No | The permissions that can be modified. Valid values:
| SYNCHRONIZE_FINANCE_IDENTITY |
string | No | The permission. | SYNCHRONIZE_FINANCE_IDENTITY | |
RelationId | integer | No | The relationship ID. Obtain this value from the relationId field returned by the QueryRelationList operation. | 51463 |
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 source IP address of the request. | 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.