List users in the back office
Lists the accounts Identity holds, 50 a page (limit, at most 100), paged with nextToken, in user id order (not a meaningful one). Each account carries what the users list shows: name, email, phone, photo, agency and role; name, email, phone and photo are personal data. Deleted accounts are listed too, with deleted true. role narrows the list to one platform role. The agency is named by the x-nicer-company header and nothing else: with one named, only the people with an active membership in it (as advisor, admin or Nicer staff), whatever agency they signed up in; with none, every account. A page narrowed by role or agency may hold fewer accounts than limit, even none, before the last page: read on while nextToken is not null. Nicer staff only. Errors: 400 ERROR_INVALID_QUERY for a bad role, limit or token; 403 ERROR_DO_NOT_HAVE_PERMISSION for a caller who is not Nicer staff.
Authorization
Query parameters
Header parameters
Returns
200
OK