Roles
Get the users directly granted a role
Changed onReturns the paginated list of users directly granted the given role, using the standard user serialization (email address included). Grants inherited through the role hierarchy are not included.
get/api/v1/roles/{roleid}/users
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScripthttps://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/docs/api/v1/roles/:roleid/users/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
roleidstring required
Id of the role to list users for
Query parameters
filterstring
Filter matching user id, first name, last name, email or full name
pageinteger
Page number for pagination
per_pageinteger
Number of items per page
orderbystring
Column name for sorting results
directionstring
Sorting direction: ASC or DESC
Response
Users retrieved successfully
Changes
- info
endpoint added
- info