Class DeleteServiceTokenRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeleteServiceTokenRequest
Delete service account tokens.
Delete service account tokens for a service in a specified namespace.
- 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 - The name of the service account token.final StringRequired - The namespace, which is a top-level grouping of service accounts.static 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 - The service name.Methods 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 - The name of the service account token.API name:
name -
namespace
Required - The namespace, which is a top-level grouping of service accounts.API 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 - The service name.API name:
service
-