permissions
Get Users In Role
List the users assigned to a role.
Visible to members of the role itself, and to callers with user-management permission in the tenant.
Path Parameters
- tenant_id (UUID): The UUID of the tenant
- role_id (UUID): The UUID of the role (list roles via GET /api/v1/permissions/tenants//roles)
Response
Returns a JSON list of users: [] (name is the user’s email).
Error Codes
- 403 Forbidden: Caller is not a member of the role and lacks user-management permission
- 404 Not Found: The role does not exist in this tenant
GET
Get Users In Role
Get Users In Role