Roles
Get role users
Changed onGet users who have the role assigned with pagination.
get/api/roles/{id}/users
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/roles/{id}/users
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
idstring required
The unique identifier of the role.
Query parameters
pageinteger
Page number (starts from 1).
page_sizeinteger
Entries per page.
search_paramsobject
Search query parameters.
Response
An array of users who have the role assigned.
Changes
- breaking
the
/response property's maxLength was increased from12to128for the response status - breaking
the
///response property's maxLength was increased from12to128for the response status
- breaking
- info
added the required property
/to the response with the status
- info