Bulk unenroll agents
- Base URL
-
https://{kibana_url}
- POST /api/fleet/agents/bulk_unenroll
- POST /s/{space_id}/api/fleet/agents/bulk_unenroll
Unenroll multiple agents. By default, the agents stop sending data and their API keys are invalidated after they acknowledge the unenroll action. To invalidate the API keys immediately, use revoke. Force unenroll in the UI sends revoke: true.