Kustvakt provides an API for closing Krill index reader at /index/close requiring an admin token. The token is contained in the adminToken file in the Kustvakt jar folder. If it doesn't exist, Kustvakt will auto-generate it at server start up.
Request example with curl:
curl -v -H "Content-Type: application/x-www-form-urlencoded" "http://10.0.10.51:8000/api/v1.0/index/close" -d @adminToken
Kustvakt provides an API for closing Krill index reader at
/index/close
requiring an admin token. The token is contained in theadminToken
file in the Kustvakt jar folder. If it doesn't exist, Kustvakt will auto-generate it at server start up.Request example with curl:
curl -v -H "Content-Type: application/x-www-form-urlencoded" "http://10.0.10.51:8000/api/v1.0/index/close" -d @adminToken