Version 2.1.1792967583 · latest Download OpenAPI Markdown

IP pools

IP pools and the IPs inside them, maintained by admins. A pool belongs to a region and its name is unique platform-wide.

ip-poolsIP product lineAuthentication: Admin only12 endpoints

List IP pools

GET/api/v2/ip-pools
Authentication: Admin only

Query parameters

FieldTypeRequiredDescription
pageinteger— Page number, starting from 1
Default 1
page_sizeinteger— Items per page
Default 20
sortstring— Sort fields, comma-separated; prefix `-` for descending, e.g. `-created_at,id`
region_idinteger— Filter by region.

Create IP pool

POST/api/v2/ip-pools
Authentication: Admin only

Request body application/json

FieldTypeRequiredDescription
desstring— Description
namestringRequired Name
region_idintegerRequired Region ID

IP pool candidate node IPs

GET/api/v2/ip-pools/candidates
Authentication: Admin only

Query parameters

FieldTypeRequiredDescription
region_idintegerRequired Region ID.

Get IP pool

GET/api/v2/ip-pools/{id}
Authentication: Admin only

Update IP pool

PUT/api/v2/ip-pools/{id}
Authentication: Admin only

Request body application/json

FieldTypeRequiredDescription
desstring— Description
namestringRequired Name
region_idintegerRequired Region ID

Delete IP pool

DELETE/api/v2/ip-pools/{id}
Authentication: Admin only

IP pool referencing sites

GET/api/v2/ip-pools/{id}/refs
Authentication: Admin only

Query parameters

FieldTypeRequiredDescription
ip_idinteger— Show only this pool IP.
limitinteger— Maximum number of sites listed per IP.
Default 20

List IPs in pool

GET/api/v2/ip-pools/{pool_id}/ips
Authentication: Admin only

Query parameters

FieldTypeRequiredDescription
pageinteger— Page number, starting from 1
Default 1
page_sizeinteger— Items per page
Default 20
sortstring— Sort fields, comma-separated; prefix `-` for descending, e.g. `-created_at,id`

Add IP to pool

POST/api/v2/ip-pools/{pool_id}/ips
Authentication: Admin only

Request body application/json

FieldTypeRequiredDescription
bind_addrstring— The local address the node actually listens on (NAT setups); null means use ip.
node_idintegerRequired Node ID

Update pool IP

PUT/api/v2/ip-pools/{pool_id}/ips/{id}
Authentication: Admin only

Request body application/json

FieldTypeRequiredDescription
bind_addrstring— The local address the node actually listens on (NAT setups); null means use ip.
enabledboolean— Whether enabled

Remove IP from pool

DELETE/api/v2/ip-pools/{pool_id}/ips/{id}
Authentication: Admin only

Issue platform certificate for pool IP

POST/api/v2/ip-pools/{pool_id}/ips/{id}/issue-cert
Authentication: Admin only

Request body application/json

FieldTypeRequiredDescription
confirmboolean— Confirm re-issuing when a valid certificate already exists.

IP pools object

FieldTypeRequiredDescription
bind_addrstring— The local address the node actually listens on (NAT setups); null means use ip.
certIpCertState— Platform IP certificate status.
confirmboolean— Confirm re-issuing when a valid certificate already exists.
created_atstring— Created at
read-only
desstring— Description
enabledboolean— Whether enabled
hintsstring[]— Hints (e.g. the node reported no NIC addresses, so the pool entry was not verified).
read-only
idinteger— Record ID
read-only
ipstring— IP address.
read-only
ip_countinteger— Number of IPs in the pool.
read-only
ipsobject[]— Pool IPs that have references, with their referencing sites.
itemsIpCandidate[]— Items on this page
namestring— Name
node_idinteger— Node ID
node_namestring— Name of the node that owns the IP.
read-only
node_stateIpNodeState— State of the owning primary node: disabled if the node is disabled; otherwise online if a heartbeat arrived in the last 2 minutes, else offline.
Values ["online","offline","disabled"]
pool_idinteger— ID of the IP pool it belongs to.
read-only
region_idinteger— Region ID
region_namestring— Region name.
read-only
site_countinteger— Number of IP sites referencing IPs in the pool (deduplicated by site).
read-only
updated_atstring— Updated at
read-only