This is the documentation for Wazuh 2.1. Check out the docs for the latest version of Wazuh!

Remove Agents

The request DELETE /agents/:agent_id removes the specified agent.

$ curl -u foo:bar -k -X DELETE http://127.0.0.1:55000/agents/002

{"error":0,"data":"Agent removed"}