Get role mappings | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Path parameters
- name
string | array[string] Required
The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.
Responses
- 200 application/json
Hide response attribute Show response attribute object- *
object Additional properties
Hide * attributes Show * attributes object
* Hide metadata attribute Show metadata attribute object
* *
object Additional properties
* Hide role_templates attributes Show role_templates attributes object
* Values arestring
orjson
.
* Hide template attributes Show template attributes object
* Specifies any named parameters that are passed into the script as variables. Use parameters instead of hard-coded values to decrease compile time.
Hide params attribute Show params attribute object
* *
object Additional properties
* #### lang string
Values arepainless
,expression
,mustache
, orjava
.
* Hide options attribute Show options attribute object
* *
string Additional properties
* Hide rules attributes Show rules attributes object
- *