Deletes multiple templates.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteTemplates

The operation that you want to perform. Set the value to DeleteTemplates.

TemplateNames String Yes ["t1","t2"]

The name list of templates to be deleted.

RegionId String No cn-hangzhou

The ID of the region.

AutoDeleteExecutions Boolean No false

Specifies whether to delete the related executions when a template is deleted.

Response parameters

Parameter Type Example Description
RequestId String 2075899A-585D-4A41-A9B2-28DA8534

The ID of the request.


Sample requests

http(s):// Action=DeleteTemplates
&<Common request parameters>

Sample success responses

XML format


JSON format

  "RequestId": "2075899A-585D-4A41-A9B2-28DA8534F"

Error codes

For a list of error codes, visit the API Error Center.