Removes one or more tags from one or more resources.


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 headers

This operation uses only the common request header. For more information, see the topic about common request parameters.

Request syntax

DELETE /pop/v5/tag/tags HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
ResourceIds String Query Yes ["f5ad6ff7-xxxx-xxxx-xxxx-2axxxx82xxxx"]

The ID of the resource from which you want to remove one or more tags. You can specify up to 20 IDs.

ResourceRegionId String Query Yes cn-beijing

The region where the resource resides.

ResourceType String Query Yes application

The type of the resource. Valid values:

  • application: Enterprise Distributed Application Service (EDAS) application
  • cluster: EDAS cluster
TagKeys String Query No ["tagKey1","tagKey2"]

The one or more tags that you want to remove in a JSON array. You can specify up to 20 tags.

DeleteAll Boolean Query No true

Specifies whether to remove all existing tags from the specified resources.

  • true: removes all existing tags from the specified resources.
  • false: does not remove all existing tags from the specified resources.
Note All existing tags of a resource are removed only if the tagKeys parameter is left empty and the DeleteAll parameter is set to true.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned HTTP status code.

Message String success

The returned message.

RequestId String 000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877

The ID of the request.


Sample requests

DELETE /pop/v5/tag/tags HTTP/1.1
Common request header
"ResourceIds": "["f5ad6ff7-xxxx-xxxx-xxxx-2axxxx82xxxx"]",
"ResourceRegionId": "cn-beijing",
"ResourceType": "application"

Sample success responses

XML format


JSON format

    "RequestId": "000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877",
    "Message": "success",
    "Code": 200

Error codes

HTTP status code Error code Error message Description
500 Edas.errorcode.InstanceNotExist.Instance.message Specified instance does not exist. The error message returned because the specified instance does not exist.

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