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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "security.delete_service_token". -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringname()Required - An identifier for the token namefinal StringRequired - An identifier for the namespacestatic DeleteServiceTokenRequestfinal Refreshrefresh()Iftruethen 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, iffalsethen do nothing with refreshes.final Stringservice()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
Iftruethen 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, iffalsethen do nothing with refreshes.API name:
refresh -
service
Required - An identifier for the service nameAPI name:
service
-