Skip to main content
Server Actions

List valid IP blocks for a server

Returns a map of block ID to IP block details (CIDR plus usage counters) for IP blocks available on the server's host.

This endpoint is special functionality for Webdock Private Cloud and Enterprise customers only.

Requires both write:servers and change:server_ip permissions on the API token.

GET
/servers/{serverSlug}/ipBlocks
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

serverSlugstringrequired

Slug of the server

Response

application/json

Map of block ID to IP block details

bodyobject