Create an IP network zone

View as Markdown
POST
/network_zones/ip

Creates a new IP network zone containing IP address ranges that can be referenced by policies to allow or restrict access.

Access to this endpoint requires an active ScaleX subscription.

Authorization

API-Key
headerX-API-KEY<token>

MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>

Request Body

application/json

The request payload used to create the IP network zone.

TypeScript Definitions

Use the request body type in TypeScript.

Create IP Network Zone Request: Used to create an IP network zone.

Response Headers

201

location?string

Returns the location header

Formaturi

Response Body

201

application/json

The IP network zone was created successfully

TypeScript Definitions

Use the response body type in TypeScript.

IP Network Zone Response: Represents a IP Network Zone.

Errors

401Unauthorized

403Forbidden

curl -X POST "https://your-domain.us.monocloud.com/api/network_zones/ip" \  -H "X-API-KEY: <token>" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "category": "trusted",    "operator": "not_in"  }'
{  "id": "string",  "enabled": true,  "name": "string",  "description": null,  "category": "trusted",  "creation_time": 0,  "last_updated": 0,  "operator": "not_in",  "type": "ip",  "ip_ranges": [    "string"  ]}
© 2026 MonoCloud. All rights reserved.