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 String
name()
Required - The name of the service account token.final String
Required - The namespace, which is a top-level grouping of service accounts.static 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 - 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
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 - The service name.API name:
service
-