Removes tags from one or more resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oos:UntagResources |
update |
execution
template
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| ResourceIds |
object |
Yes |
The IDs of the resources for which you want to modify the resource group. The number of resource IDs is 1 to 50.
|
["templateName1","templateName2"] |
| ResourceType |
string |
Yes |
The type of the resource for which you want to modify the resource group. Valid values:
|
template |
| TagKeys |
object |
No |
The tag keys. You can specify 1 to 20 keys. |
["k1","k2"] |
| All |
boolean |
No |
Whether to remove all tags. Takes effect only when TagKeys is empty. Valid values: true and false. Default value: false. If set to false, TagKeys is required. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
491DF8C2-34C9-4679-9DB3-4C0F49B129AC |
Examples
Success response
JSON format
{
"RequestId": "491DF8C2-34C9-4679-9DB3-4C0F49B129AC"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.