Updated on 2022-08-15 GMT+08:00

Tag

Table 1 Tag management

Permission

API

Action

Dependent Permission

IAM Project

(Project)

Enterprise Project

Add a resource tag.

POST /v2/{project_id}/{resource_type}/{resource_id}/tags

dns:tag:set

-

×

Add or delete resource tags in batches.

POST /v2/{project_id}/{resource_type}/{resource_id}/tags/action

Delete a resource tag.

DELETE /v2/{project_id}/{resource_type}/{resource_id}/tags/{key}

Query tags of a resource.

GET /v2/{project_id}/{resource_type}/{resource_id}/tags

dns:tag:get

-

×

Query project tags.

GET /v2/{project_id}/{resource_type}/tags

Query resources by tag.

POST /v2/{project_id}/{resource_type}/resource_instances/action