Skip to main content
POST
/
org
/
{org}
/
ipset
Create an IP Set
curl --request POST \
  --url https://api.cpln.io/org/{org}/ipset \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "tags": {},
  "spec": {
    "link": "<string>",
    "locations": [
      {
        "name": "<string>",
        "retentionPolicy": "keep"
      }
    ]
  }
}
'
{
  "status": 123,
  "message": "<string>",
  "code": "<string>",
  "details": {},
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Service account key can be used as API keys

Path Parameters

org
string
required

Body

application/json
description
string
Maximum string length: 250
tags
object
spec
object

Response

IP Set was created successfully