Class DeletePrivilegesRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.DeletePrivilegesRequest
Delete application privileges.
To use this API, you must have one of the following privileges:
- The
manage_securitycluster privilege (or a greater privilege such asall). - The "Manage Application Privileges" global privilege for the application being referenced in the request.
- 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 TypeFieldDescriptionstatic final Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse, ErrorResponse> Endpoint "security.delete_privileges". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The name of the application.name()Required - The name of the privilege.static DeletePrivilegesRequestfinal Refreshrefresh()Iftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse, _ENDPOINTErrorResponse> Endpoint "security.delete_privileges".
-
-
Method Details
-
of
public static DeletePrivilegesRequest of(Function<DeletePrivilegesRequest.Builder, ObjectBuilder<DeletePrivilegesRequest>> fn) -
application
Required - The name of the application. Application privileges are always associated with exactly one application.API name:
application -
name
Required - The name of the privilege.API name:
name -
refresh
Iftrue(the default) then refresh the affected shards to make this operation visible to search, ifwait_forthen wait for a refresh to make this operation visible to search, iffalsethen do nothing with refreshes.API name:
refresh
-