ConfirmRelation
Confirms a financial association invitation initiated by the primary account.
Operation description
Currently, secondary account confirmation is required only for financial management associations when the real-name verification information of the primary and secondary accounts is inconsistent. 2. To ensure a successful confirmation, the confirmed permissions must match the permissions specified in the invitation initiated by the primary account.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RelationType |
string |
No |
The relationship type. Valid value: enterprise_group. |
enterprise_group |
| ParentUserId |
integer |
No |
The Alibaba Cloud UID of the primary account. |
1738376485192612 |
| ConfirmCode |
string |
Yes |
The confirmation action. Valid values:
|
child_agree |
| ChildUserId |
integer |
No |
The Alibaba Cloud UID of the secondary account. |
1512996702208737 |
| RequestId |
string |
Yes |
The unique identifier of the request. |
request_id |
| PermissionCodes |
array |
Yes |
The permissions granted to the secondary account. Valid values:
|
SYNCHRONIZE_FINANCE_IDENTITY |
|
string |
No |
The permission code. For the meaning of 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": "The returned 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.