Update a VPC

Update an existing VPC. A successful request triggers a vpc_update event.

To update a VPC's Subnet, run the Update a VPC subnet operation.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: update_vpc
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: vpc:read_write

CLI

linode-cli vpcs update $vpcId \
  --description "A description of my VPC."
  --label cool-vpc

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The id of the VPC.

Body Params

VPC Update request object.

A VPC Update request object.

string
length ≤ 255

A written description to help distinguish the VPC.

string
length between 1 and 64

Filterable The VPC's label, for display purposes only.

  • Needs to be unique among the Account's VPCs.
  • Can only contain ASCII letters, numbers, and hyphens (-). You can't use two consecutive hyphens (--).
Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json