Class DeleteServiceTokenRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeleteServiceTokenRequest
Deletes a service account token.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionEndpoint "security.delete_service_token
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
name()
Required - An identifier for the token namefinal String
Required - An identifier for the namespacestatic DeleteServiceTokenRequest
final Refresh
refresh()
Iftrue
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.final String
service()
Required - An identifier for the service nameMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteServiceTokenRequest,DeleteServiceTokenResponse, _ENDPOINTErrorResponse> Endpoint "security.delete_service_token
".
-
-
Method Details
-
of
public static DeleteServiceTokenRequest of(Function<DeleteServiceTokenRequest.Builder, ObjectBuilder<DeleteServiceTokenRequest>> fn) -
name
Required - An identifier for the token nameAPI name:
name
-
namespace
Required - An identifier for the namespaceAPI name:
namespace
-
refresh
Iftrue
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.API name:
refresh
-
service
Required - An identifier for the service nameAPI name:
service
-