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.

Autorisatie

  • Authorizationstringheaderverplicht

    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.

Vereiste toestemming: organization.billing.orders.create

Headers

  • Idempotency-Keystring

    Grenzen:length <= 200

Body

application/json
  • planstringverplicht

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

    Grenzen:length >= 1

  • datacenterstringverplicht

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

    Grenzen:length >= 1

  • networkIdstring<uuid>verplicht

    The network to put the IP block on.

Antwoord

200 · application/json

OK

  • successbooleanverplicht

    Toegestane waarden:true

  • dataobject | nullverplicht