# List users Fetch the list of users associated with an organisation or site. Endpoint: GET /users Version: 0.0.1 Security: o_auth ## Query parameters: - `organisationId` (string) The ID of an organisation. - `siteId` (string) The ID of a site. ## Response 200 fields (application/json): - `email` (string, required) - `firstName` (string, required) - `id` (string,null) - `lastName` (string, required) - `name` (string) - `organisationId` (string, required) - `organisationName` (string,null) - `roles` (array) Enum: "member", "admin", "support" - `siteIds` (array) A list of IDs of the sites to user visibility. ## Response 400 fields (application/json): - `code` (integer) - `message` (string) ## Response 401 fields (application/json): - `code` (integer) - `message` (string) ## Response 403 fields (application/json): - `code` (integer) - `message` (string) ## Response 422 fields (application/json): - `code` (integer) - `message` (string) ## Response 500 fields