stack kb fleet-enrollment-api-keys post-fleet-enrollment-api-keys-bulk-delete cli command
Auth required
elastic stack kb fleet-enrollment-api-keys post-fleet-enrollment-api-keys-bulk-delete \
[options]
Bulk revoke or delete enrollment API keys
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--force-delete- When false (default), invalidate the API key and mark the token as inactive. When true, also delete the token document.
- When true, allow deletion of hidden enrollment tokens (managed/agentless policies). Defaults to false.
--kuerystring- KQL query to select enrollment tokens to delete.
--token-idsstring[]-
List of enrollment token IDs to delete.
Repeatable: pass
--token-idsmultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON