All Products
Search
Document Center

Resource Orchestration Service:DeleteTemplate

Last Updated:Jul 17, 2024

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

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /V2/DeleteTemplate

GET /V2/DeleteTemplate

Request parameters

ParameterTypeRequiredDescriptionExample
TemplateIdstringYes

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

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

8C5D90E1-66B6-496C-9371-3807F8DA80A8

Examples

Sample success responses

JSONformat

{
  "RequestId": "8C5D90E1-66B6-496C-9371-3807F8DA80A8"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history