---
title: "[BETA] Delete a Subnet"
method: DELETE
path: "/vpc/{vpc-id}/subnet/{id}"
tags: ["vpc-subnet"]
---

# \[BETA\] Delete a Subnet

`DELETE /vpc/{vpc-id}/subnet/{id}`

## Request

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

## Path parameters

- `vpc-id` string, uuid, required
- `id` string, uuid, required

## Response `200`

200

- Empty: An empty map response

## Changes

- **2026-11-06** `63da6f74c845`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exoscale/apis/exoscale-api/changes/vpc/:vpc-id/subnet/:id/delete.md)

---

[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)
