---
title: "Create CIDR [WRITE]"
method: POST
path: "/v2/network/cidr-list/{namespace}"
tags: ["CIDR Lists"]
---

# Create CIDR [WRITE]

`POST /v2/network/cidr-list/{namespace}`

## Path parameters

- `namespace` string, required

## Request body

- CidrListSpec — CIDR list for IP-based access control
  - `cidrList` string[], required — IP ranges in CIDR notation
  - `id` string, nullable — Unique identifier (generated on creation)
  - `name` string, required — Human-readable name for this CIDR list

## Response `200`

CIDR created successfully

- CidrListSpec — CIDR list for IP-based access control
  - `cidrList` string[], required — IP ranges in CIDR notation
  - `id` string, nullable — Unique identifier (generated on creation)
  - `name` string, required — Human-readable name for this CIDR list

---

[API](https://skmtc.net/huggingface/apis/hf-inference-endpoints-api.md) · [All operations](https://skmtc.net/huggingface/apis/hf-inference-endpoints-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/huggingface/hf-inference-endpoints-api/versions/52e3f4cdbf86/schema)
