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.

Autorizaciones

  • Authorizationstringheaderobligatorio

    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.

Permiso necesario: organization.billing.orders.create

Cabeceras

  • Idempotency-Keystring

    Límites:length <= 200

Cuerpo

application/json
  • planstringobligatorio

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

    Límites:length >= 1

  • datacenterstringobligatorio

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

    Límites:length >= 1

  • networkIdstring<uuid>obligatorio

    The network to put the IP block on.

Respuesta

200 · application/json

OK

  • successbooleanobligatorio

    Valores permitidos:true

  • dataobject | nullobligatorio