cURL
curl --request GET \ --url https://api.cpln.io/org/{org}/ipset/{name} \ --header 'Authorization: <api-key>'
{ "id": "<string>", "name": "<string>", "kind": "<string>", "version": 123, "description": "<string>", "tags": {}, "created": "2023-11-07T05:31:56Z", "lastModified": "2023-11-07T05:31:56Z", "links": [ { "rel": "<string>", "href": "<string>" } ], "spec": { "link": "<string>", "locations": [ { "name": "<string>", "retentionPolicy": "keep" } ] }, "status": { "ipAddresses": [ { "name": "<string>", "ip": "<string>", "id": "<string>", "state": "bound", "created": "2023-11-07T05:31:56Z" } ], "error": "<string>", "warning": "<string>" } }
Response will contain the requested IP Set if the caller is authorized to view it
Service account key can be used as API keys
Success
64
250
Show child attributes
keep
free
bound
unbound