Create an IP network zone
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.
API-KeyX-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
Returns the location header
uriResponse Body
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
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" ]}List network zones GET
Retrieves a paginated list of network zones across all types (IP and regional). Each item is discriminated by its type field. Optional query parameters may be used to search, filter, and sort the results.
Retrieve an IP network zone GET
Retrieves detailed information for the specified IP network zone.