Updated on 2024-07-25 GMT+08:00

Tags

Table 1 Actions allowed for tags

Permission

API

Action

Related Action

IAM Project

Enterprise Project

Adding a resource tag

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

dcaas:resources:tag

-

×

Adding or deleting resource tags

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

dcaas:resources:batchTagUntag

-

×

Querying resources by tag

POST /v3/{project_id}/{resource_type}/resource-instances/action

dcaas:resources:listByTag

-

×

Querying tags by resource type

GET /v3/{project_id}/{resource_type}/tags

dcaas:resources:listTag

-

×

Querying resource tags

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

dcaas:resources:listResourceTag

-

×

Deleting a resource tag

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

dcaas:resources:unTag

-

×