Domain name for API request: teo.intl.tencentcloudapi.com.
Delete a just in time transcoding template based on the unique template identifier under the site ID.
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: DeleteJustInTimeTranscodeTemplates. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| ZoneId | Yes | String | Site ID. |
| TemplateIds.N | Yes | Array of String | Array of unique identifiers of instant transcoding templates to be deleted. Length limit: 100. |
| 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 an existing transcoding template.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteJustInTimeTranscodeTemplates
<Common request parameters>
{
"ZoneId": "zone-djuqmq",
"TemplateIds": [
"C1LZ7982VgTpYhJ7M"
]
}
{
"Response": {
"RequestId": "12ae8d8e-dce3-4151-9d4b-5594145287e1"
}
}
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.ProductDiscontinued | The product will already be discontinued. Operation denied. |
| FailedOperation.ProductNotActivated | No. Enable this product and try again. |
| InternalError | Internal error. |
| InvalidParameterValue | Parameter value error. |
| InvalidParameterValue.TemplateNotCustom | The input template contains a template that is not of the custom template type. |
| InvalidParameterValue.TemplateNotFound | The template contains a non-existing template. Please check whether the template id is correct. |
| InvalidParameterValue.ZoneNotFound | No corresponding site. Please ensure the site information is filled correctly. |
| InvalidParameterValue.ZonePaused | Site disabled. Check the current site status. |
| MissingParameter | Parameters are missing. |
| UnauthorizedOperation | Unauthorized operation. |
피드백