ckanaction

group_member_create

POST
group_member_create

Make a user a member of a group.

You must be authorized to edit the group.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
id?string

the id or name of the group

username?string

name or id of the user to be made member of the group

role?string

role of the user in the group. One of member, editor, or admin

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