AuthThe Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats.AvailabilityGenerally available since 6.4This functionality is generally available and ready for production usage.Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments.This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
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.
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.
nameunionstring | 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.