Set Default Health Status On Adding Target

Is there anyway to set target’s health as UNHEALTHY on default?I had some issues on adding unusable targets to upstream,they will work after a while,but not immediately.Kong still relay requests to those targets until next active health check

You can not mark them as unhealthy right on the creation request, but you can create them and immediately send another request to make them unhealthy. Here’s the relevant request:

they will work after a while

Once you are sure they are ok, you could manually mark them as healthy with

Also, though not without errors, passive healthchecks will be faster in this case. (faster than waiting for active healthchecks)