AnsweredAssumed Answered

bulk upload users to Canvas Commons Group

Question asked by Li Zhu on Apr 17, 2018
Latest reply on Apr 17, 2018 by George Taylor

We are trying to add 3000+ users in a Commons group. 

From the API doc: 

 

curl -X POST -H "X-Session-ID: 0123456789" -H "Content-Type: application/json" --data @data.json "https://lor.instructure.com/api/groups/1234/members"

 

data.json: { "userId": "4LjxagScJoIlBACBRTI1XLXzCtTRn1CPDBLhWPEP:canvas-lmsf1ca849dd34eaef8040de8ffa7fe7fd5983e57e2", "isManager": true }

 

 

I can add one user, how can I add more than one user? What is the easiest way to find all of the userId? I used developer kit to find the userId for the indivisua. 

 

thanks

li

Outcomes