· Jan 27, 2021

How to remove an upstream target from an Upstream in IAM 0.34-1?

I've define an upstream object in the IAM 0.34-1 and in it 3 targets. I now want to remove 1 of those targets.

I can not find the way to do that.

Discussion (1)0
Log in or sign up to continue

The user interface indeed does not seem to offer that possibility. On my environment I managed to get a target deleted by issuing a DELETE request to 

http://localhost:8001/upstreams/<upstream uuid>/targets/<target uuid>

This did not work with the upstream and target names, only with their UUIDs.

Alternatively, you could set the target weight to 0, but this does not remove the target, of course.