Creating a Tag for a VPC

Function

This API is used to create a tag for a VPC.

URI

POST /v2.0/{project_id}/vpcs/{vpc_id}/tags

Table 1 describes the parameters.

Table 1 Parameter description

Name

Mandatory

Description

project_id

Yes

Specifies the project ID.

vpc_id

Yes

Specifies the VPC ID, which uniquely identifies the VPC.

Request Message

Response Message

Status Code

See Status Codes.

Error Code

See Error Codes.