After a tag is unbound, the tag is automatically deleted if it is not bound to any other resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ess:UntagResources |
update |
*ScalingGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the resource. You can call DescribeRegions to query the most recent region list. |
cn-hangzhou |
| ResourceType |
string |
Yes |
The type of the resource. Only scaling groups are supported. Set the value to scalinggroup. |
scalinggroup |
| All |
boolean |
No |
Specifies whether to unbind all tags from the resource. This parameter takes effect only if TagKey.N is not set in the request. Valid values:
Default value: false. |
false |
| ResourceId |
array |
Yes |
The resource ID. Valid values of N: 1 to 50. |
asg-bp17xb4x1vr29lgt**** |
|
string |
No |
The resource ID. Valid values of N: 1 to 50. |
asg-bp17xb4x1vr29lgt**** |
|
| TagKey |
array |
No |
The tag key of the resource. Valid values of N: 1 to 20. |
TestKey |
|
string |
No |
The tag key of the resource. Valid values of N: 1 to 20. |
TestKey |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
3AEBB1B9-5B13-4311-951F-C3C7FA2B**** |
Examples
Success response
JSON format
{
"RequestId": "3AEBB1B9-5B13-4311-951F-C3C7FA2B****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.