Deletes a template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:DeleteTemplate |
delete |
*Template
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| TemplateName |
string |
Yes |
The template name. The name can contain letters, digits, hyphens (-), and underscores (_), and can be up to 200 characters in length. The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD. |
MyTemplate |
| AutoDeleteExecutions |
boolean |
No |
Specifies whether to delete the executions related to the template when deleting the template. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2075899A-585D-4A41-A9B2-28DA8534F |
Examples
Success response
JSON format
{
"RequestId": "2075899A-585D-4A41-A9B2-28DA8534F"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.