[ckan-dev] how to add members in organization
Ian Ward
ian at excess.org
Fri Jul 29 21:39:43 UTC 2016
If you know all the users that should be in an organization this can
be done using the API, e.g. with ckanapi
$ ckanapi action organization_patch -i <<<JSON
{ "id": "my-org-name",
"users": [
{"name": "person1", "capacity": "admin"},
{"name": "person2", "capacity": "member"},
....
]}
JSON
On Thu, Jul 28, 2016 at 11:45 AM, Andrea Stella <andrea.stella at yacme.com> wrote:
> Hi all,
> I should set up a lot of members of an organization. Does a process to do it
> quickly and all together without adding them one by one exist?
>
> Thnks a lot,
> a.
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
More information about the ckan-dev
mailing list