Delete application privileges
- DELETE /_security/privilege/{application}/{name}
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.
- Cluster privileges:
manage_security
Path Parameters
-
applicationstring Namerequired -
The name of the application. Application privileges are always associated with exactly one application.
-
nameName | Namerequired -
The name of the privilege.
Query Parameters
-
refreshRefresh If
true(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.-
Values:
truefalsewait_for
Response
application/json
Response Type: map string to string to FoundStatus