Domain name for API request: tat.intl.tencentcloudapi.com.
This API is used to delete registration codes in batches.
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: DeleteRegisterCodes. |
| Version | Yes | String | Common Params. The value used for this API: 2020-10-28. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| RegisterCodeIds.N | Yes | Array of String | Registration code ID list. limits the input registration code ID quantity to more than 0 and less than 100. Call the DescribeRegisterCodes api to query registration codes. |
| 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. |
Delete the registration code based on its ID.
POST / HTTP/1.1
Host: tat.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteRegisterCodes
<Common request parameters>
{
"RegisterCodeIds": [
"c24dcbca-4e83-463c-b1ae-f6a432c009f0",
"f86ccb49-520a-41bd-ba00-140a9dbed79f"
]
}
{
"Response": {
"RequestId": "c08c4975-9dbc-4ac1-8a88-6943ffbde1d5"
}
}
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 |
|---|---|
| InvalidParameterValue.InvalidRegisterCodeId | Invalid registration code ID. |
| InvalidParameterValue.ParameterKeyDuplicated | Duplicate parameter keys. |
| MissingParameter | Missing parameter. |
| ResourceNotFound.RegisterCodesNotFoundCode | Registration code not found. |
| ResourceNotFound.RoleNotFound | The role does not exist. |
| UnauthorizedOperation.AssumeRoleUnauthorized | Role play unauthorized. |
Feedback