Delete service account tokens

  • DELETE /_security/service/{namespace}/{service}/credential/token/{name}

Delete service account tokens for a service in a specified namespace.

  • Cluster privileges: manage_service_account
Read the reference documentation

Query Parameters

refresh enum 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.

Values: true false wait_for

Response