Delete service account tokens | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Path parameters
- The namespace, which is a top-level grouping of service accounts.
- The service name.
- The name of the service account token.
Query parameters
- If
true
then refresh the affected shards to make this operation visible to search, ifwait_for
(the default) then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.
Values aretrue
,false
, orwait_for
.
Responses
- 200 application/json
Hide response attribute Show response attribute object- If the service account token is successfully deleted, the request returns
{"found": true}
. Otherwise, the response will have status code 404 andfound
is set tofalse
.
- If the service account token is successfully deleted, the request returns