Removes tags from resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:UntagResources |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The type of the resource. |
instance |
| ResourceId |
array |
Yes |
The resource IDs. You can specify up to 50 resource IDs. |
|
|
string |
No |
The ID of resource. |
i-5zy93g7z1hnkdmav84joxyzgn |
|
| TagKey |
array |
No |
The keys of the tags. Valid values of N: 1 to 20. |
|
|
string |
No |
The key of the tag. |
test_tag_key-2 |
|
| All |
boolean |
No |
Specifies whether to remove all tags from the resource. This parameter takes effect only if you do not specify TagKey.N. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
6AB7715D-8B97-5E81-854B-2429F8C7DEF2 |
Examples
Success response
JSON format
{
"RequestId": "6AB7715D-8B97-5E81-854B-2429F8C7DEF2"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | SystemError | A system error occurred while processing your request | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 403 | NoPermission | The operator is not permission for this operate |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.