Get builtin privileges Added in 7.3.0

GET /_security/privilege/_builtin

Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
GET /_security/privilege/_builtin
curl \
 -X GET http://api.example.com/_security/privilege/_builtin
Response examples (200)
{
  "cluster": [
    "string"
  ],
  "index": "string"
}