You can call UntagResources to detach and delete tags from resources.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mq:UntagResources |
get |
*All Resource
|
None |
|
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
This parameter is required to detach tags from topics and group IDs. |
MQ_INST_188077086902****_BX4jvZZG |
| ResourceType |
string |
Yes |
The type of the resource. This is an enumeration. Supported resource types:
|
TOPIC |
| All |
boolean |
No |
Specifies whether to delete all tags that are attached to the resource. This parameter is valid only when the TagKey parameter is not set in the request. The default value is false. |
false |
| ResourceId |
array |
Yes |
A list of resource IDs. |
TopicA |
|
string |
No |
The ID of the resource from which you want to detach tags. |
TopicA |
|
| TagKey |
array |
No |
A list of tag keys of the resource. |
CartService |
|
string |
No |
The tag key of the resource.
|
CartService |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. This is a common parameter. Each request has a unique ID. You can use this ID to troubleshoot and locate issues. |
19780F2E-7841-4E0F-A5D9-C64A0530**** |
Examples
Success response
JSON format
{
"RequestId": "19780F2E-7841-4E0F-A5D9-C64A0530****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.