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.
--include-hidden
When true, allow deletion of hidden enrollment tokens (managed/agentless policies). Defaults to false.
--kuery string
KQL query to select enrollment tokens to delete.
--token-ids string[]

List of enrollment token IDs to delete.

Repeatable: pass --token-ids multiple times to supply more than one value

--input-file string
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