UntagResources
Detach tags from a list of specified resources. If a tag is no longer attached to any resource after detachment, Alibaba Cloud deletes it automatically.
Try it now
Test
RAM authorization
Request syntax
DELETE /api/v1/tags HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
Region |
cn-hangzhou |
| ResourceType |
string |
Yes |
Resource type |
ResourceGroup |
| ResourceId |
array |
Yes |
Resource IDs. Maximum: 50 items. |
|
|
string |
No |
List of resources. |
[\"rga2yvifxyicn1rq\"] |
|
| TagKey |
array |
No |
List of tag keys. Maximum: 20 items. |
|
|
string |
No |
Tag value for the resource. Valid values for N: 1 to 20. You can specify an empty string. Maximum length: 128 characters. Cannot start with |
tagKey |
|
| All |
boolean |
No |
Whether to detach all tags from the resource. Valid values:
Note
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Common parameter. Each request has a unique ID. Use this ID to troubleshoot and locate issues. |
F082BD0D-21E1-5F9B-81A0-AB07485B03CD |
Examples
Success response
JSON format
{
"RequestId": "F082BD0D-21E1-5F9B-81A0-AB07485B03CD"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.