Removes tags from the specified Auto Scaling resources. If you remove a tag and the tag is not added to other resources, the tag is automatically deleted.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The type of the resource. Only scaling groups are supported. Set the value to scalinggroup. | cn-hangzhou |
ResourceType | string | Yes | Specifies whether to remove all tags from the Auto Scaling resource. This parameter takes effect only if you do not specify the
Default value: false. | scalinggroup |
All | boolean | No | The IDs of the Auto Scaling resources. You can specify 1 to 50 resource IDs. | false |
ResourceIds | array | Yes | The IDs of the Auto Scaling resources. You can specify 1 to 50 resource IDs. | |
string | No | The keys of the tags that you want to remove from the Auto Scaling resource. You can specify 1 to 20 tag keys. | asg-bp17xb4x1vr29lgt**** | |
TagKeys | array | No | The keys of the tags that you want to remove from the Auto Scaling resource. You can specify 1 to 20 tag keys. | |
string | No | The ID of the request. | TestKey |
Response parameters
Example
Normal return example
JSON
Format
{
"RequestId": "3AEBB1B9-5B13-4311-951F-C3C7FA2B****"
}
Error codes
For a list of error codes, visit the API error center.