---
title: "Get an available subnet"
method: GET
path: "/api/v2/vmware/vpc/{vpc_id}/hpc/subnets/available"
tags: ["subnets"]
---

# Get an available subnet

`GET /api/v2/vmware/vpc/{vpc_id}/hpc/subnets/available`

Get the value of "id" and "cidr" of an available subnet in the inventory. These values are used to create a new subnet.

## Path parameters

- `vpc_id` string, uuid, required

## Response `200`

A list of available subnets.

- object[]
  - `id` string — The unique ID of the subnet.
  - `cidr` string — CIDR block of the available subnet.

## Other responses

- `401` — Unauthorized access.
- `403` — Forbidden.
- `500` — Internal server error.

---

[API](https://skmtc.net/fptcloud/apis/default-module.md) · [All operations](https://skmtc.net/fptcloud/apis/default-module/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fptcloud/default-module/revisions/73c8c4622f2b/schema)
