Deletes an AI template.
Description
You cannot delete an AI template that is set as the default template.
QPS limit
You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business can be affected. We recommend that you take note of the limit when you call this operation. For more information, see QPS limits on API operations in ApsaraVideo VOD.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteAITemplate |
The operation that you want to perform. Set the value to DeleteAITemplate. |
TemplateId | String | Yes | 1706a0063dd733f6a823ef32e0a5**** |
The ID of the AI template. You can use one of the following methods to obtain the ID of the AI template:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
TemplateId | String | 1706a0063dd733f6a823ef32e0a5**** |
The ID of the AI template. |
RequestId | String | 25818875-5F78-4A13-BEF6-**** |
The ID of the request. |
Examples
Sample requests
http(s)://vod.cn-shanghai.aliyuncs.com/?Action=DeleteAITemplate
&TemplateId=1706a0063dd733f6a823ef32e0a5****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteAITemplateResponse>
<TemplateId>1706a0063dd733f6a823ef32e0a5****</TemplateId>
<RequestId>25818875-5F78-4A13-BEF6-****</RequestId>
</DeleteAITemplateResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"TemplateId" : "1706a0063dd733f6a823ef32e0a5****",
"RequestId" : "25818875-5F78-4A13-BEF6-****"
}
Error codes
For a list of error codes, visit the API Error Center.