Change course_code through Canvas API - not updating?

Jump to solution
Community Participant

I am using the Update a Course API to attempt to update a course_code (the course's shortname).

Using Postman, it builds this request (I am using PUT as specified):'New course code set by API'

There are no errors returned, but the course code does not change either. It returns the course object - no changes.

Anyone been able to get anything under update a course to work? I tried some other fields but they don't update either.

Labels (1)
1 Solution
Community Participant

Something like this works for me:[course_code]=SampleNewCourseCode

Note: the sample course code is not in quotes.

You could try running your script in the Canvas Live API before postman...

View solution in original post