cancel
Showing results for 
Search instead for 
Did you mean: 
RobertSeletsky
Community Participant

api/v1/accounts/1/sis_imports groups

Jump to solution

Via SIS Import see successfully created new group

CSV File:

group_id,group_category_id,name,status
G987654,GC10,Group1,available

However, when use (or within server URL)

curl https://<canvas>/api/v1/groups/G987654 \
     -H 'Authorization: Bearer <token>'

  Get error: "The specified resource does not exist."

0 Kudos
1 Solution

Accepted Solutions
robotcars
Community Champion

I think you need sis_group_id https://canvas.instructure.com/doc/api/file.sis_csv.html

/api/v1/groups/sis_group_id:G987654

As for finding it in the UI, without it being attached to a course, I do not know. The docs state it will be attached to the root_account, which is your instance.

The course identifier from courses.csv, if none is specified the group will be attached to the root account.

https://canvas.instructure.com/doc/api/file.sis_csv.html

Maybe ...instructure.com/groups/sis_group_id:G987654

View solution in original post

3 Replies
RobertSeletsky
Community Participant

Via SIS Imports see:

Imported Items:

Groups: 1

In any event, where to look in GUI to see a newly added group?

robotcars
Community Champion

I think you need sis_group_id https://canvas.instructure.com/doc/api/file.sis_csv.html

/api/v1/groups/sis_group_id:G987654

As for finding it in the UI, without it being attached to a course, I do not know. The docs state it will be attached to the root_account, which is your instance.

The course identifier from courses.csv, if none is specified the group will be attached to the root account.

https://canvas.instructure.com/doc/api/file.sis_csv.html

Maybe ...instructure.com/groups/sis_group_id:G987654

View solution in original post