Removes tags from cloud computers. After you remove a tag, if the tag is not added to a cloud computer, the tag is automatically deleted.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ResourceType | string | Yes | The type of the resource. Valid values:
| ALIYUN::GWS::INSTANCE |
All | boolean | Yes | Specifies whether to unbind all tags from the resource. This parameter takes effect only when TagKey.N is not specified. Default value: false. | false |
ResourceId | array | Yes | The resource IDs, which are cloud computer IDs. You can specify 1 to 50 IDs. | |
string | Yes | The resource ID, which is the cloud computer ID. | ecd-ia2zw38bi6cm7**** | |
TagKey | array | No | The tag keys. You can specify 1 to 20 tag keys. | |
string | No | The tag key. | TestKey |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history