Updated on 2025-12-23 GMT+08:00

Port Tag (V3)

Permission

API

Action

Querying the number of ports by tag

POST /v3/{project_id}/ports/resource-instances/count

vpc:portTags:get

Querying ports by tag

POST /v3/{project_id}/ports/resource-instances/filter

vpc:portTags:get

Adding a tag to a port

POST /v3/{project_id}/ports/{port_id}/tags

vpc:portTags:create

Deleting a tag from a port

DELETE /v3/{project_id}/ports/{port_id}/tags/{tag_key}

vpc:portTags:delete

Querying a tag of a port

GET /v3/{project_id}/ports/{port_id}/tags

vpc:portTags:get

Adding tags to a port in batches

POST /v3/{project_id}/ports/{port_id}/tags/create

vpc:portTags:create

Deleting tags from a port in batches

POST /v3/{project_id}/ports/{port_id}/tags/delete

vpc:portTags:delete

Querying tags of ports in a project

GET /v3/{project_id}/ports/tags

vpc:portTags:get