All Products
Search
Document Center

CDN:UntagResources

Last Updated:Jul 05, 2024

Removes tags from specified resources.

Operation description

Note You can call this operation up to 100 times per second per account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceTypestringYes

The type of the resources from which you want to remove tags. Set this parameter to DOMAIN.

DOMAIN
AllbooleanNo

Specifies whether to remove all tags. Valid values:

  • true: yes.
  • false: no.

Default value: false.

false
ResourceIdarrayYes

The list of resource IDs. You can specify up to 50 resource IDs in the list.

stringYes

The ID of a resource.

test-res.dutenews.com
TagKeyarrayNo

The list of tag keys. You can specify up to 20 tag keys in the list.

stringNo

The key of a tag.

env

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

97C68796-EB7F-4D41-9D5B-12B909D76508

Examples

Sample success responses

JSONformat

{
  "RequestId": "97C68796-EB7F-4D41-9D5B-12B909D76508"
}

Error codes

HTTP status codeError codeError messageDescription
400TagIsInvalidThe number of Tag exceeds 20.-
400ResourceIdIsInvalidThe number of ResourceId exceeds 50.The number of resource IDs (ResourceId) cannot exceed 50.
400TagKeyRepeatedThe specified TagKey is duplicated.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history