Skip to main content

Enable Public IP for a Group

Enables public IP assignment for the group, so its nodes get a public IP. The request body is empty. The group must be stopped for the operation to succeed.

PUT/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/

Path parameters

  • scaler_idPathintegerrequired

    The id of the auto scaling group, as returned by List.

    • required
    • must be a valid auto scaling group ID
    example12345

Query parameters

  • project_idQueryintegerrequired

    Identifier of the project to scope the request to. Required integer project ID.

    • required
    • must be a valid integer project ID
    example{{project_id}}
  • apikeyQuerystringrequired

    API key used to authenticate the request.

    • required
    • non-empty string
    example{{api_key}}
  • locationQuerystringrequired

    Region of the group.

    • required
    • must be a valid region name (e.g., Delhi, Chennai)
    example{{location}}

Request body

application/json

object

Enabling public IP takes an empty request body.

Responses

200Successful response
object

Public IP enable confirmation.

codeinteger
example200
datastring
examplepublic_ip has been attached successfully
errorsobject
messagestring
exampleSuccess