Set Target Address As Healthy

POST {{gateway}}/upstreams/:upstreamNameOrId/targets/:targetOrID/:address/healthy

Set Target Address As Healthy konghq

  • Set the current health status of an individual address resolved by a target in the load balancer to “healthy” in the entire Kong cluster.

  • This endpoint can be used to manually re-enable an address resolved by a target that was previously disabled by the upstream’s health checker. Upstreams only forward requests to healthy nodes, so this call tells Kong to start using this address again.

  • This resets the health counters of the health checkers running in all workers of the Kong node, and broadcasts a cluster-wide message so that the “healthy” status is propagated to the whole Kong cluster.

AttributesMandatoryTypeDescription
upstream name or idrequiredpathThe unique identifier or the name of the upstream.
target or idrequiredpathThe host/port combination element of the target to set as healthy, or the id of an existing target entry.
addressrequiredpathThe host/port combination element of the address to set as healthy.