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.

Autorisations

  • Authorizationstringheaderobligatoire

    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.

Permission requise : organization.billing.orders.create

En-têtes

  • Idempotency-Keystring

    Limites :length <= 200

Corps

application/json
  • planstringobligatoire

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

    Limites :length >= 1

  • datacenterstringobligatoire

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

    Limites :length >= 1

  • networkIdstring<uuid>obligatoire

    The network to put the IP block on.

Réponse

200 · application/json

OK

  • successbooleanobligatoire

    Valeurs autorisées :true

  • dataobject | nullobligatoire