---
title: "[BETA] Update a VPC"
method: PUT
path: "/vpc/{id}"
tags: ["vpc-management"]
---

# \[BETA\] Update a VPC

`PUT /vpc/{id}`

## Request

- Base URL: `https://api-ch-gva-2.exoscale.com/v2`
- URL: `https://api-ch-gva-2.exoscale.com/v2/vpc/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/exoscale/apis/exoscale-api/docs/vpc/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `name` string, nullable: VPC name
  - `description` string, nullable: VPC description
  - `labels` Labels

## Response `200`

200

- Vpc: VPC
  - `id` string, uuid: VPC ID
  - `name` string: VPC name
  - `description` string: VPC description
  - `created-at` string, date-time: VPC creation date
  - `labels` Labels

---

[API](https://skmtc.dev/exoscale/apis/exoscale-api.md) - [All operations](https://skmtc.dev/exoscale/apis/exoscale-api/llms.txt) - [OpenAPI document](https://skmtc.dev/exoscale/apis/exoscale-api/revisions/63da6f74c845?raw)
