Skip to content

Commit

Permalink
Built-in roles are not queriable
Browse files Browse the repository at this point in the history
  • Loading branch information
albertzaharovits committed Jul 5, 2024
1 parent fbfe51a commit 57675dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/rest-api/security/query-role.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Retrieves roles with <<query-dsl,Query DSL>> in a <<paginate-search-results,pagi

The role management APIs are generally the preferred way to manage roles, rather than using
<<roles-management-file,file-based role management>>.
The query roles API does not retrieve roles that are defined in roles files.
The query roles API does not retrieve roles that are defined in roles files, nor <<built-in-roles,built-in>> ones.
You can optionally filter the results with a query. Also, the results can be paginated and sorted.

[[security-api-query-role-request-body]]
Expand Down

0 comments on commit 57675dd

Please sign in to comment.