All Products
Search
Document Center

:UpdateTemplateAttributes

Last Updated:Jan 16, 2026

Updates the attributes of a template.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

TemplateName

string

Yes

The name of the template.

MyTemplate

IsFavorite

boolean

No

Specifies whether to add the template to or remove it from favorites.

true

RegionId

string

No

The region ID.

cn-hangzhou

SharePermissionAction

string

No

The action to perform on the shared template.

Share

ShareTemplateVersion

string

No

The version of the shared template.

v1

AccountIds

string

No

The list of Alibaba Cloud accounts with which to share the template. A maximum of five accounts can be specified at a time.

["1319994761488600"]

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

A5320F1D-92D9-44BB-A416-5FC525ED6D57

Examples

Success response

JSON format

{
  "RequestId": "A5320F1D-92D9-44BB-A416-5FC525ED6D57"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.