ckanaction

member_list

POST
member_list

Return the members of a group.

The user must have permission to "get" the group.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id or name of the group

object_type?string

restrict the members returned to those of a given type, e.g. 'user' or 'package' (default: None)

capacity?string

restrict the members returned to those with a given capacity, e.g. 'member', 'editor', 'admin', 'public', 'private' (optional, default: None)

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