v1
latestSwagger 2.02026-08-04232286653.5 KBLoad Balancers
Updates an external load balancer in the project and returns the async operation.
This endpoint updates the configuration of an existing external load balancer. The request must include the load balancer ID and optionally the health check options and/or listen ports and associated backends.
patch/projects/{project_id}/networking/load-balancers/{load_balancer_id}
Path parameters
project_idstring required
The project ID to which the external load balancer belongs.
load_balancer_idstring required
The ID of the external load balancer to update.
Request body
Example request
{
"health_check_options": {
"failure_count": 3,
"interval": 10,
"success_count": 2,
"timeout": 5
},
"listen_ports_and_backends": [
{
"backends": [
{
"ip": "192.168.1.2",
"port": 8080,
"status": "ONLINE"
}
],
"listen_port": 80
}
]
}Response
Example response
{
"operation": {
"completed_at": "2021-12-03T19:59:34Z",
"metadata": "{}",
"operation_id": "F6EF489C-086E-458D-B812-7962964A28C9",
"result": "{}",
"started_at": "2021-12-03T19:58:34Z",
"state": "IN_PROGRESS"
}
}