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 SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse, ErrorResponse> Endpoint "security.delete_privileges".
- 
Method SummaryModifier 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.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<DeletePrivilegesRequest,DeletePrivilegesResponse, _ENDPOINTErrorResponse> Endpoint "security.delete_privileges".
 
- 
- 
Method Details- 
ofpublic static DeletePrivilegesRequest of(Function<DeletePrivilegesRequest.Builder, ObjectBuilder<DeletePrivilegesRequest>> fn) 
- 
applicationRequired - The name of the application. Application privileges are always associated with exactly one application.API name: application
- 
nameRequired - The name of the privilege.API name: name
- 
refreshIftrue(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
 
-