edit-icon download-icon

DeleteTemplate

Last Updated: Feb 08, 2018

Description

The DeleteTemplate API deletes a custom template. If the custom transcoding template to be deleted is used by “Submitted” tasks, the template cannot be deleted.

Request parameters

Parameter Type Required or not Description
Action String Yes API of the action, system required parameter. Set this parameter to DeleteTemplate.
TemplateId String Yes Template ID.

Return parameters

Name Type Description
TemplateId String Template ID

Example

Request example

  1. http://mts.cn-hangzhou.aliyuncs.com/?TemplateId=88c6ca184c0e47098a5b665e2a126799&Action=DeleteTemplate&<Public parameter>

Return example

XML

  1. <DeleteTemplateResponse>
  2. <RequestId>017F1B2D-2B5B-4441-ABBA-E0DC08F5AFEC</RequestId>
  3. <TemplateId>88c6ca184c0e47098a5b665e2a126799</TemplateId>
  4. </DeleteTemplateResponse>

JSON

  1. {
  2. "RequestId":"3E767BAD-9F4C-4FC8-9FAE-E3F4A639066B",
  3. "TemplateId": "88c6ca184c0e47098a5b665e2a126799"
  4. }
Thank you! We've received your feedback.