ckanaction

user_invite

Invite a new user.

You must be authorized to create group members.

POST
user_invite

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

email?string

the email of the user to be invited to the group

group_id?string

the id or name of the group

role?string

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

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