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.

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

Paramètres de chemin

  • idstring<uuid>obligatoire
  • addressstringobligatoire

Corps

application/json
  • serviceIdstring<uuid>obligatoire

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

  • segmentIdstring<uuid>obligatoire

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

Réponse

200 · application/json

OK

  • successbooleanobligatoire

    Valeurs autorisées :true

  • dataobject | nullobligatoire