Disassociating courses from a blueprint with API

Jump to solution
alunsfor
Community Participant

We have a curriculum that we use for my online courses that comes to us as Blueprint Courses.  I usually create a sandbox course for each of the courses we use so the teachers can take the content from the blueprint course and rearrange so it matches our curriculum maps. Instead of going through and creating another set of 80 sandbox courses for the teachers for the teachers for the summer I would just like to disassociate their current courses with the blue print courses.  I have a list of their course ids and the course ids for the blue print course, however, when I look at the API documentation I have found in the API documentation the following

PUT /v1/courses/{course_id}/blueprint_templates/{template_id}/update_associations

My blueprint course is 39323 and the associated course is 39423. 

Screenshot 2024-04-26 at 10.00.01 AM.png

However, when i run the call I am getting a 404 the resource can not be found.  I have tried the course numbers in different arrangements but can't get it to work.  I would like to get this to work so that I can then run for multiple courses using Postman.

Any suggestions would be great! 

Labels (3)
0 Likes
1 Solution
JamesSekcienski
Community Coach
Community Coach

@alunsfor

Have you tried the following?

The blueprint course ID for the course_id field (39323)

default for the template_id

The associated course ID for the course_ids_to_remove (39423)

View solution in original post

0 Likes