Removes tags from resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:UnTagResources |
delete |
LoadBalancer
ServerGroup
Acl
SecurityPolicy
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The type of the resource. Valid values:
|
loadbalancer |
| ResourceId |
array |
Yes |
The IDs of the resources from which you want to remove tags. |
acl-123 |
|
string |
No |
The ID of the resource from which you want to remove tags. |
d-2ze1ot4ah7xjyv0d**** |
|
| Tag |
array<object> |
No |
The tags that you want to remove. |
test |
|
object |
No |
The tag that you want to remove. |
||
| Key |
string |
No |
The tag key to remove. The key can be up to 128 characters in length and cannot contain |
env |
| Value |
string |
No |
The tag value to remove. The value can be up to 128 characters in length and cannot contain |
product |
| TagKey |
array |
No |
The keys of the tags that you want to remove. |
|
|
string |
No |
The tag key. Can be up to 128 characters in length and cannot contain |
env |
|
| All |
boolean |
No |
Whether to remove all tags from the specified resource. Valid values:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The operation to remove tags. |
||
| RequestId |
string |
The request ID. |
593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3 |
Examples
Success response
JSON format
{
"RequestId": "593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | ResourceNotFound.Acl | The specified resource %s is not found. | |
| 404 | ResourceNotFound.LoadBalancer | The specified resource %s is not found. | The specified resource %s is not found. |
| 404 | ResourceNotFound.SecurityPolicy | The specified resource %s is not found. | The specified resource %s is not found. |
| 404 | ResourceNotFound.ServerGroup | The specified resource %s is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.