You can call UpdateTemplate to update an application deployment template.


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 headers

This operation uses the common request header only. For more information, see Common parameters.

Request syntax

PUT /templates/[TemplateId] HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
TemplateId String Yes nginx-app

The ID of the template.


Sample requests

PUT /templates/[TemplateId] HTTP/1.1
Common request header
"TemplateId": "nginx-app"

Sample success responses

JSON format


Error codes

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