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.

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

Path parameters

  • idstring<uuid>required
  • addressstringrequired

Body

application/json
  • serviceIdstring<uuid>required

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

  • segmentIdstring<uuid>required

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

Response

200 · application/json

OK

  • successbooleanrequired

    Allowed values:true

  • dataobject | nullrequired