In the Admin Console UI, users are shown with a role such as Member or various admin roles (e.g., Team Admin, User Management Admin, etc.). However, in the API response, I observe that:
- Admin users have entries in the
roles field - Non-admin users return:
[]
From this, I understand that an empty roles array implies the user is a regular “Member” (i.e., no admin privileges). However, the API does not explicitly return a "member" role or similar identifier.
I have a couple of questions:
- Is it correct to interpret
roles: [] as equivalent to the “Member” role shown in the UI? - Is there any API (current or planned) that explicitly returns “Member” as a role, or provides a more direct/explicit role classification?