Set Target As Healthy
POST {{gateway}}/upstreams/:upstreamNameOrId/targets/:targetOrID/healthy
Set Target As Healthy konghq
- Set the current health status of a target in the load balancer to “healthy” in the entire Kong cluster. This sets the “healthy” status to all addresses resolved by this target. 
- This endpoint can be used to manually re-enable 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 target 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. 
| Attributes | Mandatory | Type | Description | 
|---|---|---|---|
| upstream name or id | required | path | The unique identifier or the name of the upstream. | 
| target or id | required | path | The host/port combination element of the target to set as healthy, or the id of an existing target entry. |