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
--namespacestringrequired- The namespace, which is a top-level grouping of service accounts.
--servicestringrequired- The service name.
--namestringrequired- 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, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes. --input-filestring- 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