ckanaction

organization_member_create

POST
organization_member_create

Make a user a member of an organization.

You must be authorized to edit the organization.

Authorization

apiTokenHeader
headerAuthorization<token>

CKAN API token

Request Body

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

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