Updates the attributes of a template.
Try it now
Test
RAM authorization
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.