Skip to content

Disable Public IP for a Group

DELETE
/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/
curl --request DELETE \
--url 'https://api.e2enetworks.com/myaccount/api/v1/scaler/scalegroups/{scaler_id}/public_ip/action/?project_id=<PROJECT_ID>&apikey=<API_KEY>&location=<LOCATION>' \
--header 'Authorization: Bearer <API_TOKEN>'

Disables public IP assignment for the group, so its nodes no longer get a public IP. The group must be stopped for the operation to succeed.

scaler_id
required
integer

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

Example

12345
project_id
required
integer

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

Example

<PROJECT_ID>
apikey
required
string

API key used to authenticate the request.

Example

<API_KEY>
location
required
string

Region of the group.

Example

<LOCATION>

Successful response

Media typeapplication/json

Public IP disable confirmation.

object
code
integer
data
string
errors
object
message
string

Example

{
"code": 200,
"data": "public_ip has been detached successfully",
"message": "Success"
}