IP sets

Create an IP set

POST
/cloud/project/{project_uuid}/firewall/ipsets/

Creates an empty IP set. Add addresses with the member endpoints, then reference it in rules.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Create an IP set.

Response Body

application/json

curl -X POST "https://example.com/cloud/project/string/firewall/ipsets/" \  -H "Content-Type: application/json" \  -d '{    "display_name": "string"  }'
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "display_name": "string",  "pve_ipset_name": "string",  "comment": "string"}