ckanaction

organization_member_create

Make a user a member of an organization.

You must be authorized to edit the organization.

POST
organization_member_create

Authorization

apiTokenHeader
Authorization<token>

CKAN API token

In: header

Request Body

application/json

id?string

the id or name of the organization

username?string

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

role?string

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

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