IP blocks

Create IP block

POST/v1/networking/ip-blocks

Orders an hourly-billed IP block on the given network and returns the block; a replayed Idempotency-Key answers 200 with the block it ordered.

Authorizations

  • Authorizationstringheaderrequired

    Organization API key (org_...), created in the cloud console at https://cloud.serverside.com and shown once, sent as Authorization: Bearer <key>. It authenticates as the organization.

Required permission: organization.billing.orders.create

Headers

  • Idempotency-Keystring

    Limits:length <= 200

Body

application/json
  • planstringrequired

    The IP block plan's id (it sets the prefix size and IP version).

    Limits:length >= 1

  • datacenterstringrequired

    The datacenter where the IP block should be allocated: its id or its code, such as ams1.

    Limits:length >= 1

  • networkIdstring<uuid>required

    The network to put the IP block on.

Response

200 · application/json

OK

  • successbooleanrequired

    Allowed values:true

  • dataobject | nullrequired