Returns all users with detailed information on each user, if the requesting user is staff.
Query parameters
A comma-separated list of users IDs to filter by. When provided, only users with those IDs are returned.
Defines which page should be returned.
If provided only users with id or username or first_name that match the query will be returned.
Defines how many users should be returned per page.
A comma separated string of attributes to sort by, each attribute must be prefixed with + for a descending sort or a - for an ascending sort. The accepted attribute names are: id, is_active, name, username, date_joined, last_login. For example sorts=-id,-is_active will sort the users first by descending id and then ascending is_active. A sortparameter with multiple instances of the same sort attribute will respond with the ERROR_INVALID_SORT_ATTRIBUTE error.