Atlas
Admin — IP Allowlist

Add IP allowlist entry

Adds a CIDR range to the workspace's IP allowlist. Supports both IPv4 and IPv6 notation.

POST
/api/v1/admin/ip-allowlist

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:3001/api/v1/admin/ip-allowlist" \  -H "Content-Type: application/json" \  -d '{    "cidr": "10.0.0.0/8"  }'
{
  "entry": {
    "id": "string",
    "orgId": "string",
    "cidr": "string",
    "description": "string",
    "createdAt": "string",
    "createdBy": "string"
  }
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}
{
  "property1": null,
  "property2": null
}
{
  "error": "string",
  "message": "string",
  "requestId": "string"
}