Get application privileges

Auth

To use this API, you must have one of the following privileges:

  • The read_security cluster privilege (or a greater privilege such as manage_security or all).
  • The "Manage Application Privileges" global privilege for the application being referenced in the request.
About Elasticsearch privileges

Required authorization

Cluster privileges read_security

Path parameters

application string optional

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.

name union string | string[] optional

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 object