Curl command to terminate supervisor

Hi,

I am trying to terminate a supervisor using curl command but it doesn’t seem to work. Is the format wrong ?

Here’s the command i am trying to use curl -X POST http://localhost:10001/druid/indexer/v1/supervisor/test-events/terminate

Thanks !

Found out that terminate endpoint is not accessible for versions below 0.13.0.

Had to use shutdown instead.