Adds or removes permissions granted to a member in a financial relationship.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RelationType | string | No | The type of the financial relationship. Set the value to enterprise_group. | enterprise_group |
RelationOperation | string | Yes | The operation to be performed. Valid values:
| ADD |
ParentUserId | long | No | The ID of the Alibaba Cloud account that is used as the management account. | 1738376485192612 |
ChildNick | string | Yes | The display name of the member. This helps clarify the scenario in which the account is used. | Display name of the member |
ChildUserId | long | No | The ID of the Alibaba Cloud account that is used as the member. | 1512996702208737 |
RequestId | string | Yes | The unique ID of the request. The ID is used to mark a request and troubleshoot a problem. | request_id |
RoleCodes | array | No | The roles that can be assigned to the member. You cannot modify the roles. | |
string | No | The role that is assigned to the member. | trusteeship | |
PermissionCodes | array | No | The permissions that can be modified. Valid values:
| |
string | No | The permission that is granted. | SYNCHRONIZE_FINANCE_IDENTITY | |
RelationId | long | No | The ID of the financial relationship. Set this parameter to the value of the relationId response parameter returned by calling the QueryRelationList operation. | 51463 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "Message returned\n",
"RequestId": "request_id",
"Success": true,
"Data": {
"HostId": "HostId"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2021-12-14 | The request parameters of the API has changed | see changesets | ||||
|