Removes tags from specified resources.
Operation description
Each account can call this operation up to 100 times per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:UntagResources |
update |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
Yes |
The type of the resources from which you want to remove tags. Set this parameter to DOMAIN. |
DOMAIN |
| All |
boolean |
No |
Specifies whether to remove all tags. Valid values:
Default value: false. |
false |
| ResourceId |
array |
Yes |
The list of resource IDs. You can specify up to 50 resource IDs in the list. |
example.com |
|
string |
No |
The ID of a resource. |
test-res.dutenews.com |
|
| TagKey |
array |
No |
The list of tag keys. You can specify up to 20 tag keys in the list. |
env |
|
string |
No |
The key of a tag. |
env |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
97C68796-EB7F-4D41-9D5B-12B909D76508 |
Examples
Success response
JSON format
{
"RequestId": "97C68796-EB7F-4D41-9D5B-12B909D76508"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | TagIsInvalid | The number of Tag exceeds 20. | |
| 400 | ResourceIdIsInvalid | The number of ResourceId exceeds 50. | The number of resource IDs (ResourceId) cannot exceed 50. |
| 400 | TagKeyRepeated | The specified TagKey is duplicated. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.