Loading

stack es security delete-service-token cli command

Destructive Auth required Idempotent Scope: global
elastic stack es security delete-service-token \
  --namespace <namespace> \
  --service <service> \
  --name <name> \
  [options]
		

Delete service account tokens.

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--namespace string required
The namespace, which is a top-level grouping of service accounts.
--service string required
The service name.
--name string required
The name of the service account token.
--[no-]refresh
If true (the default) then refresh the affected shards to make this operation visible to search, if wait_for then wait for a refresh to make this operation visible to search, if false then do nothing with refreshes.
--input-file string
path to a JSON file to use as command input
--[no-]dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json

output as JSON