Domain name for API request: intlpartnersmgt.intl.tencentcloudapi.com.
This API is used to approve applications for second-level resellers.
Invocation Role: Distributor.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ApproveSubAgentApply. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-28. |
| Region | No | String | Common Params. This parameter is not required. |
| SubAgentUin | Yes | Integer | Second-level reseller UIN. |
| ApproveType | Yes | String | Approval type. Only pass and reject are supported. |
| RejectReason | No | String | Reason for rejection. Fill in only when ApproveType is reject. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: intlpartnersmgt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ApproveSubAgentApply
<Common request parameters>
{
"SubAgentUin": 100000,
"ApproveType": "pass"
}{
"Response": {
"RequestId": "91158930-****-496f-****-8f32f5edabcc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation.AccountTypeNotCompany | The account type is not a corporate account. |
| FailedOperation.BindOrganizationAccount | The account is a group account and cannot be bound as a sub-customer. |
| FailedOperation.ClientBalanceIsLessOrEqualZero | The sub-customer balance is less than zero. |
| FailedOperation.ClientBuySP | The sub-customer has purchased an sp package. |
| FailedOperation.ClientCreateShareUnit | The sub-customer has created a shared unit. |
| FailedOperation.ClientJoinShareUnit | The sub-customer has joined a shared unit. |
| FailedOperation.ExceedMaxBindCount | The maximum number of bindable sub-accounts has been exceeded. |
| FailedOperation.RealNameInApproval | Real-Name pending approval. |
| FailedOperation.RealNameNotCompleted | User has not completed enterprise identity verification. |
| FailedOperation.RealNameReject | Identity audit was rejected. |
| FailedOperation.RealNameTypeIllegal | Illegal real-name type. |
| FailedOperation.ResellerNotApply | Unsubmitted application for second-level reseller. |
| FailedOperation.UinAlreadyKA | Tencent cloud ka account cannot become a sub-customer. |
| FailedOperation.UinAppliedAgent | The uin has already applied to become a reseller. |
| FailedOperation.UinNotReseller | UIN is a non-reseller (master reseller, reseller, sub-reseller) account. |
| InvalidParameterValue.UinAlreadyAppliedClient | The user has already applied to become a sub - customer of another reseller. |
| InvalidParameterValue.UinAlreadyClient | The user has become a sub-customer of another reseller. |
| InvalidParameterValue.UinAlreadyReseller | The user has become a second - level reseller of another partner. |
| InvalidParameterValue.UinIsSubAccount | The user is a sub-account. |
| OperationDenied.ServiceBusy | System busy. Please try again later. |
| UnauthorizedOperation.UinNoAuth | The current user doesn’t have permission for the operation. |
Feedback