Query roles

Query Kibana roles with optional filters, paging, and sorting.

post/api/security/role/_query

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

fromnumber
querystring
sizenumber

Response

Indicates a successful call.

countnumber required

The number of roles returned in this response page.

totalnumber required

The total number of roles that match the query.

Changes

Changed in 1 of the 176 revisions of this API.1

    • ○

      added the optional property /// to the response with the status

      response-optional-property-added

Of the 176 revisions, 20 have no diff computed.