---
title: "Add an IP/CIDR to the allowlist"
method: POST
path: "/api/v1/security/ip-allowlist"
tags: ["Security"]
---

# Add an IP/CIDR to the allowlist

`POST /api/v1/security/ip-allowlist`

## Request

- Base URL: `https://legal.nexusquantum.legal`
- URL: `https://legal.nexusquantum.legal/api/v1/security/ip-allowlist`
- Auth: HTTP bearer

Accepts IPv4 (`192.0.2.1`, `192.0.2.0/24`) and IPv6 (`2001:db8::/32`). Max 50 entries/key.

## Request body

- object
  - `cidr` string, required
  - `label` string, nullable

## Response `201`

Entry created.

## Other responses

- `400`: INVALID_CIDR.
- `409`: CIDR_DUPLICATE.
- `422`: ALLOWLIST_LIMIT_REACHED (50).

---

[API](https://skmtc.dev/nexusquantum/apis/nexus-legal-api.md) · [All operations](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexusquantum/apis/nexus-legal-api/revisions/4084d8d4eb0b?raw)
