All Products
Search
Document Center

Enterprise Distributed Application Service:UntagResources

Last Updated:Mar 01, 2024

Removes one or more tags from one or more resources.

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 syntax

DELETE /pop/v5/tag/tags

Request parameters

ParameterTypeRequiredDescriptionExample
ResourceRegionIdstringYes

The region in which the resource resides.

cn-beijing
ResourceTypestringYes

The type of the resource. Valid values:

  • application: Enterprise Distributed Application Service (EDAS) application
  • cluster: EDAS cluster
application
ResourceIdsstringYes

The IDs of the resources from which you want to remove tags. You can specify up to 20 IDs.

["f5ad6ff7-xxxx-xxxx-xxxx-2axxxx82xxxx"]
TagKeysstringNo

The tags that you want to remove. You can specify up to 20 tags. Set this parameter to a JSON array.

["tagKey1","tagKey2"]
DeleteAllbooleanNo

Specifies whether to remove all existing tags from the specified resources. Default value: false. Valid values:

  • 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.
true

Response parameters

ParameterTypeDescriptionExample
object
Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError messageDescription
500Edas.errorcode.InstanceNotExist.Instance.messageThe instance does not exist.The instance does not exist.

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

Change history

Change timeSummary of changesOperation
No change history