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.

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

Parámetros de ruta

  • idstring<uuid>obligatorio
  • addressstringobligatorio

Cuerpo

application/json
  • serviceIdstring<uuid>obligatorio

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

  • segmentIdstring<uuid>obligatorio

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

Respuesta

200 · application/json

OK

  • successbooleanobligatorio

    Valores permitidos:true

  • dataobject | nullobligatorio