This is the documentation for Wazuh 3.7. 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 -X DELETE "http://localhost:55000/agents/002"

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