Actions22
- Account Actions
- Automation Actions
- Device Actions
- Label Actions
- Mass Action Actions
- User Actions
- Zone Actions
User → List Users
AI-generatedSummary
List users associated with the Prey account by fetching user data from the Prey API, optionally returning all results or limiting to a specified maximum number.
Inputs
- API Key Permission — Selects the API key permission level (Read-Only or Read & Write). Must match the configured API key permission. Controls visibility of write operations but does not affect this read operation.
- Return All — Whether to return all users or limit the output to a specified maximum.
- Limit — Maximum number of user records to return when 'Return All' is set to false. Range is 1 to 100.
Output shape
a list of user records each containing user details such as ID and name
The operation fetches users paginated from the Prey API. When 'Return All' is true, it automatically paginates through all pages. When false, only up to 'Limit' number of users are returned. The user list is returned as an array under the 'users' property of the API response, flattened and filtered according to optional search in UI but no filter input exposed here.
Examples
Example 1: Retrieve all users in the Prey account
Set 'Return All' to true to fetch all users without limit.
Example 2: Retrieve up to 50 users
Set 'Return All' to false and set 'Limit' to 50 to fetch only the first 50 users.