ckanaction

user_invite

POST
user_invite

Invite a new user.

You must be authorized to create group members.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

application/json
  1. body
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

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