Deletes multiple templates.

Debugging

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.

Examples

Sample requests

http(s)://oos.cn-hangzhou.aliyuncs.com/? Action=DeleteTemplates
&TemplateNames=["t1","t2"]
&<Common request parameters>

Sample success responses

XML format

<DeleteTemplateResponse>
      <RequestId>2075899A-585D-4A41-A9B2-28DA8534F</RequestId>
</DeleteTemplateResponse>

JSON format

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

Error codes

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