Confirms an invitation initiated by the main account for a linked account.
Operation description
Currently, only financial management linking is supported. The linked account needs to confirm the invitation only when the real-name verification information of the main account and the linked account is inconsistent.
The permissions to be confirmed must be exactly the same as the permissions specified in the invitation initiated by the main account for the confirmation to succeed.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RelationType |
string |
No |
The relationship type. Valid values: enterprise_group. |
enterprise_group |
| ParentUserId |
integer |
No |
The Alibaba Cloud UID of the main account. |
1738376485192612 |
| ConfirmCode |
string |
Yes |
The confirmation action. Valid values:
|
child_agree |
| ChildUserId |
integer |
No |
The Alibaba Cloud UID of the linked account. |
1512996702208737 |
| RequestId |
string |
Yes |
The unique identifier of the request. |
request_id |
| PermissionCodes |
array |
Yes |
The permissions granted to the linked account. Valid values:
|
SYNCHRONIZE_FINANCE_IDENTITY |
|
string |
No |
The permission code. For more information about the valid values, see the description of the PermissionCodes parameter. |
SYNCHRONIZE_FINANCE_IDENTITY |
|
| RelationId |
integer |
No |
The relationship ID. You can obtain the value from the relationId field in the response of the QueryRelationList operation. |
51463 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The backend business status code. |
200 |
| Message |
string |
The returned message. |
The returned message |
| RequestId |
string |
The unique identifier of the request. |
request_id |
| Success |
boolean |
Indicates whether the request is successful. |
true |
| Data |
object |
The returned data. |
|
| HostId |
string |
The host ID. |
HostId |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "返回信息",
"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.