Get application privileges
- GET /_security/privilege/{application}/{name}
- GET /_security/privilege/{application}
- GET /_security/privilege
To use this API, you must have one of the following privileges:
- The
read_securitycluster privilege (or a greater privilege such asmanage_securityorall). - The "Manage Application Privileges" global privilege for the application being referenced in the request.
- Cluster privileges:
read_security
Path Parameters
-
applicationstring Nameoptional -
The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.
Leave it out to use
/_security/privilege. -
nameName | Nameoptional -
The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.
Leave it out to use
/_security/privilege.
Response
application/json
Response Type: map string to string to Actions