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 |
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 |
- |
√ |
× |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.