Skip to content
Docs

Check Update VPC Availability

PATCH/v1/networking/vpcs/{vpc_id}/availability

Check if a VPC can be updated

Path ParametersExpand Collapse
vpc_id: string
Body ParametersJSONExpand Collapse
name: optional string

Name of the VPC.

subnet_name: optional string

Name of the subnet to create.

tags: optional array of string

Tags to attach to the VPC.

Check Update VPC Availability

curl https://api.nirvanalabs.io/v1/networking/vpcs/$VPC_ID/availability \
    -X PATCH \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $NIRVANA_LABS_API_KEY" \
    -d '{
          "name": "my-vpc",
          "subnet_name": "my-subnet",
          "tags": [
            "production",
            "ethereum"
          ]
        }'
Returns Examples