ckanaction

user_list

POST
user_list

Return a list of the site's user accounts.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
q?string

filter the users returned to those whose names contain a string

email?string

filter the users returned to those whose email match a string (you must be a sysadmin to use this filter)

order_by?string

which field to sort the list (default: 'display_name').

Value in"id""name""fullname""display_name""created""about""sysadmin""number_created_packages"
all_fields?boolean

return full user disctionaries instead of just names

include_site_user?boolean

add site_user to the result (default: False)

Example Request
curl -X POST 'http://localhost:5000/api/3/action/user_list' \  -H 'Content-Type: application/json' \  -d '{}'