Deletes a template.
Operation description
If a template is shared with other Alibaba Cloud accounts, you must unshare the template before you delete it.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /V2/DeleteTemplate
GET /V2/DeleteTemplate
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TemplateId | string | Yes | The ID of the template. This parameter applies to only private templates. | 5ecd1e10-b0e9-4389-a565-e4c15efc**** |
For more information about common request parameters, see Common parameters.
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "8C5D90E1-66B6-496C-9371-3807F8DA80A8"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history