forked from docs/doc-exports
Reviewed-by: Hajba, László Antal <laszlo-antal.hajba@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
7.5 KiB
7.5 KiB
Tag Management
Permission |
API |
Action |
Dependent Permission |
IAM Project (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 |
dns:tag:set |
- |
√ |
Delete a resource tag. |
DELETE /v2/{project_id}/{resource_type}/{resource_id}/tags/{key} |
dns:tag:set |
- |
√ |
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 |
dns:tag:get |
- |
√ |
Query resources by tag. |
POST /v2/{project_id}/{resource_type}/resource_instances/action |
dns:tag:get |
- |
√ |
Parent topic: Permissions Policies and Supported Actions