Skip to main content
Load Balancers

Update a load balancer

Updates mutable load balancer fields. Omitted fields keep their current values. If domain changes and upstreams are omitted, existing upstream attachments are migrated to the new domain automatically.

PATCH
/loadbalancers/{loadBalancerId}
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

loadBalancerIdstringrequired

Load balancer device ID

Body

application/json
cacheDynamicPagesboolean

Cache dynamic page responses when eligible.

cacheStaticFilesboolean

Cache static assets at the edge.

domainstring

New naked domain (no scheme/path/port). Must not already be in use by another active LB/WAF.

enableHttp3boolean

Enable HTTP/3 (QUIC) support on the edge.

namestring

New human-readable name (max 255 chars).

upstreamsobject[]

Replacement upstream set. When provided, at least two upstreams are required.

Minimum array length: 2
upstreamsUseHttpsboolean

Use HTTPS (443) to upstream servers when true; HTTP (80) when false.

Response

application/json

Load balancer updated

domainstring

Canonical naked domain attached to this load balancer.

idstring

Load balancer device ID. Use this value for get/patch/delete operations.

namestring

Human-readable load balancer name.

settingsobject

Effective load balancer settings currently applied in Gatekeeper.

upstreamsobject[]

Backend upstream servers currently attached to this load balancer.