Confirms an invitation from an Alibaba Cloud account.
Operation description
1. A RAM user must confirm an invitation for Financial Management account linking only if the real-name authentication information of the RAM user is inconsistent with that of the Alibaba Cloud account. 2. To confirm the invitation, the specified permissions must match those in the original invitation.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
RelationType | string | No | The type of relationship. Currently, only enterprise_group is supported. | Type of the financial relationship |
ParentUserId | integer | No | The UID of the Alibaba Cloud account. | 1738376485192612 |
ConfirmCode | string | Yes | The confirmation action. Valid values:
| child_agree |
ChildUserId | integer | No | The UID of the RAM user. | 1512996702208737 |
RequestId | string | Yes | The unique ID of the request. | request_id |
| PermissionCodes | array | Yes | The permissions to grant to the RAM user. Valid values:
| SYNCHRONIZE_FINANCE_IDENTITY |
string | No | SYNCHRONIZE_FINANCE_IDENTITY | ||
RelationId | integer | No | The ID of the relationship. Obtain this value from the relationId parameter in the response of the QueryRelationList operation. | 51463 |
Response elements
Parameter | Type | Description | Example |
object | |||
Code | string | The status code. | 200 |
Message | string | The message returned. | Message returned |
RequestId | string | The unique ID of the request. | request_id |
Success | boolean | Indicates whether the request was successful. | true |
| Data | object | The data returned. | |
HostId | string | The host ID. | 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.