ckanaction

user_list

Return a list of the site's user accounts.

POST
user_list
Authorization<token>

CKAN API token

In: header

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)

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