AnsweredAssumed Answered

What is the curl for blueprint associations using the course SIS ID

Question asked by Eric Fudge on Jul 23, 2019
Latest reply on Jul 25, 2019 by Eric Fudge

We are working on the curl script to associate and un-associate courses with a blueprint course. We have been successful using the Canvas course ID but prefer to use our own configuration of the course SIS_ID. Below is a snip of what we have and it states success on push however the association/un-association appear not be be affected. Does anyone have any thoughts or ideas?

 

curl https://url.instructure.com/api/v1/courses/sis_course_id:BP_ACCT101/blueprint_templates/default/update_associations -X PUT -H 'Authorization: Bearer XXXXXXXXXXXXXXXXXXXXXX' -d 'course_ids_to_remove[]=sis_course_id:40001.201840.1'

Outcomes