Updated on 2023-05-29 GMT+08:00

Tag Management

Permission

API

Action

Dependencies

Adding or deleting tags to or from an ECS in a batch

POST /v1/{project_id}/cloudservers/{server_id}/tags/action

ecs:cloudServers:put

-

Querying project tags

GET /v1/{project_id}/cloudservers/tags

ecs:cloudServers:lis

-

Querying tags of an ECS

GET /v1/{project_id}/servers/{server_id}/tags

ecs:servers:getTags

-

Querying tags of a specified ECS (native OpenStack API)

GET /v2.1/{project_id}/servers/{server_id}/tags

ecs:servers:getTags

ecs:servers:get

Adding a tag to an ECS (native OpenStack API)

PUT /v2.1/{project_id}/servers/{server_id}/tags/{tag}

ecs:servers:setTags

ecs:servers:get

Creating an ECS tag (native OpenStack API)

PUT /v2.1/{project_id}/servers/{server_id}/tags

ecs:servers:setTags

ecs:servers:get

Deleting a specified tag from an ECS (native OpenStack API)

DELETE /v2.1/{project_id}/servers/{server_id}/tags/{tag}

ecs:servers:setTags

ecs:servers:get

Querying an ECS tag (native OpenStack API)

GET /v2.1/{project_id}/servers/{server_id}/tags/{tag}

ecs:servers:getTags

ecs:servers:get

Deleting all ECS tags (native OpenStack API)

DELETE /v2.1/{project_id}/servers/{server_id}/tags

ecs:servers:setTags

ecs:servers:get