IP addresses

Assign IP address

POST/v1/networking/ip-blocks/{id}/addresses/{address}/assign

Assigns a free address of the IP block to a service attached to the block's network on the given segment.

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.networking.addresses.manage

Padparameters

  • idstring<uuid>verplicht
  • addressstringverplicht

Body

application/json
  • serviceIdstring<uuid>verplicht

    The service to assign the address to; it must be attached to the IP block's network.

  • segmentIdstring<uuid>verplicht

    The service's segment that the IP block's network is attached to.

Antwoord

200 · application/json

OK

  • successbooleanverplicht

    Toegestane waarden:true

  • dataobject | nullverplicht