DeleteTemplate
Deletes a template.
Try it now
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
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 name of the template. The name can be up to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (_). The name cannot start with ALIYUN, ACS, ALIBABA, or ALICLOUD. | MyTemplate |
AutoDeleteExecutions | boolean | No | Specifies whether to delete the related executions when the template is deleted. | 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 for a complete list.
Release notes
See 变更详情 for a complete list.