Detaches one or more tags from the specified resources.

Note The maximum number of times that users can call this operation per second is 100.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes UntagDcdnResources

The operation that you want to perform. Set the value to UntagDcdnResources.

ResourceId.N RepeatList Yes

The ID of the resource. Valid values of N: 1 to 50.

ResourceType String Yes DOMAIN

The type of the resource. Set the value to DOMAIN.

TagKey.N RepeatList No env

The key of the tag. Valid values of N: 1 to 20.

All Boolean No false

Specifies whether to delete all tags. Valid values:

  • true: yes.
  • false: no.

The default value is false.

Response parameters

Parameter Type Example Description
RequestId String 97C68796-EB7F-4D41-9D5B-12B909D76508

The ID of the request.


Sample requests

http(s):// Action=UntagDcdnResources
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

HttpCode Error code Error message Description
400 TagIsInvalid The number of Tag exceeds 20. The error message returned because the number of tags exceeds 20.
400 ResourceIdIsInvalid The number of ResourceId exceeds 50. The error message returned because the number of resource IDs exceeds 50.

For a list of error codes, visit the API Error Center.