curl --request POST \ --url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/lb-ips/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \ --header 'Authorization: Bearer <API_TOKEN>' \ --header 'Content-Type: application/json' \ --data '{ "reserved_ip_ids": [ 358, 359 ]}'import requests
response = requests.post( "https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/lb-ips/", params={"project_id": "<PROJECT_ID>", "location": "<LOCATION>", "apikey": "<API_KEY>"}, headers={"Authorization": "Bearer <API_TOKEN>"}, json={ "reserved_ip_ids": [ 358, 359, ], },)print(response.json())const url = new URL("https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/lb-ips/");url.search = new URLSearchParams({ project_id: "<PROJECT_ID>", location: "<LOCATION>", apikey: "<API_KEY>" });
const response = await fetch(url, { method: "POST", headers: { "Authorization": "Bearer <API_TOKEN>", "Content-Type": "application/json" }, body: JSON.stringify({ "reserved_ip_ids": [ 358, 359 ] }),});console.log(await response.json());Attaches reserved IPs to the cluster’s LoadBalancer IP pool. A Service of type LoadBalancer then takes one of them as its address; with none free, its EXTERNAL-IP stays <pending>.
The cluster must be worker_joining, worker_joined, or ready. The addresses must be public reserved IPs in this project and region that are not in use: a VPC IP, or an IP attached to another cluster, is refused.
Note: Get reserved IP IDs from the Reserve IP section of the API.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Kubernetes cluster ID, as returned by List Kubernetes Clusters.
Query Parameters
Section titled “Query Parameters”Project ID
Active IAM ID (To access contact person account) Find your Active IAM ID here
Location
Request Bodyrequired
Section titled “Request Bodyrequired”object
IDs of available public reserved IPs in this project and region.
Example
{ "reserved_ip_ids": [ 358, 359 ]}Responses
Section titled “Responses”The IPs are attached.
object
object
object
Unavailable once the address is attached to the cluster.
object
Example
{ "code": 201, "data": { "lb_ips": [ { "id": 358, "ip_address": "203.0.113.10", "status": "Unavailable", "location": "Delhi", "created_at": "2026-10-20T10:15:00Z" } ] }, "errors": {}, "message": "2 reserved IP(s) attached to the cluster LoadBalancer pool."}