Removes one or more tags from one or more resources.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
DELETE /pop/v5/tag/tags
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ResourceRegionId | string | Yes | The region in which the resource resides. | cn-beijing |
ResourceType | string | Yes | The type of the resource. Valid values:
| application |
ResourceIds | string | Yes | The IDs of the resources from which you want to remove tags. You can specify up to 20 IDs. | ["f5ad6ff7-xxxx-xxxx-xxxx-2axxxx82xxxx"] |
TagKeys | string | No | The tags that you want to remove. You can specify up to 20 tags. Set this parameter to a JSON array. | ["tagKey1","tagKey2"] |
DeleteAll | boolean | No | Specifies whether to remove all existing tags from the specified resources. Default value: false. Valid values:
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
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "success",
"RequestId": "000e5836-xxxx-xxxx-xxxx-0d6ab2ac4877"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | Edas.errorcode.InstanceNotExist.Instance.message | The instance does not exist. | The instance does not exist. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history