Removes tags from resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:UntagResources |
none |
*AppGroup
|
None | None |
Request syntax
DELETE /v4/openapi/resource-tags HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| resourceType |
string |
Yes |
The resource type. |
ProductVersion |
| resourceId |
array |
Yes |
The IDs of the resources. You can specify a maximum of 50 resource IDs. |
|
|
string |
No |
A list of resource IDs. You must specify at least one of `resourceId` or `tagKey`. |
55111 |
|
| tagKey |
array |
No |
A list of tag keys. You can specify a maximum of 20 tag keys. |
|
|
string |
No |
The tag key. |
GENIE_FUNCTION |
|
| all |
boolean |
No |
Specifies whether to remove all tags from the resources. This parameter takes effect only if you do not specify `tagKey`. Valid values: `true` and `false`. Default value: `false`. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| tequestId |
string |
The request ID. |
1-B-2-V |
Examples
Success response
JSON format
{
"tequestId": "1-B-2-V"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.