Skip to main content
PATCH
/
v1beta1
/
networking
/
vpcs
/
{id}
Update VPC
curl --request PATCH \
  --url https://api.coreweave.com/v1beta1/networking/vpcs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "updateMask": "<string>",
  "vpcPrefixes": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "ingress": {
    "disablePublicServices": true
  },
  "egress": {
    "disablePublicAccess": true
  },
  "dhcp": {
    "dns": {
      "servers": [
        "<string>"
      ]
    }
  }
}
'
{
  "vpc": {
    "name": "<string>",
    "zone": "<string>",
    "id": "<string>",
    "vpcPrefixes": [
      {
        "name": "<string>",
        "value": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "status": "STATUS_AVAILABLE"
      }
    ],
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "hostPrefix": "<string>",
    "hostPrefixes": [
      {
        "name": "<string>",
        "prefixes": [
          "<string>"
        ],
        "type": "PRIMARY",
        "ipam": {
          "prefixLength": 123,
          "gatewayAddressPolicy": "EUI64"
        }
      }
    ],
    "ingress": {
      "disablePublicServices": true
    },
    "egress": {
      "disablePublicAccess": true
    },
    "dhcp": {
      "dns": {
        "servers": [
          "<string>"
        ]
      }
    },
    "status": "STATUS_CREATING"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt

Use this file to discover all available pages before exploring further.

This method uses a field mask, provided in the updateMask field, to specify which fields to modify. When updateMask is omitted, all fields in the request body are updated. For more information on field masks, see the Google AIP-157 guidance. The valid updateMask field paths are:
  • vpcPrefixes
  • ingress.disablePublicServices
  • egress.disablePublicAccess
  • dhcp.dns.servers
Any other path — including a top-level path like ingress or dhcp — is invalid; the server silently ignores the request and makes no changes.
Example request
curl -X PATCH https://api.coreweave.com/v1beta1/networking/vpcs/{id} \
       -H "Content-Type: application/json" \
       -H "Authorization: Bearer {API_ACCESS_TOKEN}" \
       -d @data.json

Authorizations

Authorization
string
header
default:{API_ACCESS_TOKEN}
required

CoreWeave API access token sent as a bearer token.

Path Parameters

id
string
required

The unique identifier for the VPC.

Body

application/json
id
string
required

The unique identifier for the VPC.

updateMask
string<field-mask>

A field mask specifying which fields to update. Valid paths are vpcPrefixes, ingress.disablePublicServices, egress.disablePublicAccess, and dhcp.dns.servers. Any other path (including top-level paths like ingress or dhcp) is silently ignored. When omitted, all fields in the request body are updated. See Google AIP-157.

vpcPrefixes
object[]

An array of additional prefixes associated with the VPC. Must be given in CIDR notation.

ingress
object

The ingress configuration of the VPC.

egress
object

The egress configuration of the VPC.

dhcp
object

The DHCP configuration of the VPC.

Response

OK

vpc
object

The VPC.

Last modified on May 4, 2026