Load Balancer
Configure Health Check
put
/loadbalancer/{lb_uuid}/listeners/{listener_uuid}/health-checkCreate or update health check configuration for a listener.
Authorization
Authorization
Authorization*string
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Path parameters
lb_uuid*string
listener_uuid*string
Request body
Create or update a health check
application/jsonRequired
protocol?LBHealthCheckProtocol | null
Default
"http"Value in"http""https""tcp"path?string | null
Path for HTTP/HTTPS checks
Range
length ≤ 255Default"/"port?integer | null
Override port
Range
1 ≤ value ≤ 65535interval_seconds?integer | null
Range
5 ≤ value ≤ 300Default30timeout_seconds?integer | null
Range
1 ≤ value ≤ 60Default5healthy_threshold?integer | null
Range
1 ≤ value ≤ 10Default2unhealthy_threshold?integer | null
Range
1 ≤ value ≤ 10Default3expected_codes?string | null
Expected HTTP status codes
Range
length ≤ 100Default"200-399"http_method?string | null
Default
"GET"Value in"GET""HEAD"Responses
Successful Response
application/json
detail*string
listener_uuid*string