List team members
Returns one page of the back-office staff directory: the accounts that can sign into the POS, each with its identity, contact email, primary role label (owner, manager, cashier, viewer, …), the store (or whole network) it is scoped to, and whether it is still active. Reach for this to FIND somebody when you only know their role or store, to answer ‘who works at X’, or to discover a member id before a write; when you already hold the id, call getTeamMember instead. Narrow with role (an EXACT label match, not a search — manager matches, Manager and manag do not) and active (the strings true / false). Order with sortField (name / role) plus sortDirection (asc default); sortDirection alone is IGNORED — the route only builds a sort when sortField is present. Walk the directory with page / pageSize (max 100) until page reaches pageCount. This returns the flat directory PROJECTION, never the underlying RBAC grants: role is a display label, so do not infer from it what the account may actually do — call whoami as that actor for that, or read the operation’s own x-required-permissions.
Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Query Parameters
0 < x <= 90071992547409910 < x <= 1001true, false name, role asc, desc Response
A page of team-directory rows with the pagination totals.
A page of team-directory rows with the pagination totals.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991
