The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December.
Read our blog post for more info about this change.
I am trying to "update multiple courses in an account." The canvas live API lists a parameter: course_ids (List of ids of courses to update. At most 500 courses may be updated in one call.) I've tried typing in the Canvas course ID, (usually a six-digit number) and I've tried typing in the Course ID, which is also The SIS ID. no matter what I type in, I receive the message:
{ "message": "must specify course_ids[]" }
I cannot figure out what to type in the course IDs box in the Live API.
Can someone offer some advice?
Thanks.
Due to the technical nature of this question I'm going to share it with the Canvas Developers group in the Community. They are the ones that work with this side of Canvas and should hopefully be able to help! In addition, you might consider joining the Developers group and checking out some of their other resources/information!
@lstickdo take a look at the documentation here, which includes syntax for a curl command:
If this doesn't help, can you please post your syntax?
Hi Lisa --
Note that the parameter name includes the brackets 'course_ids[]=123456', and that you can specify it multiple times to pass multiple values: 'course_ids[]=12456&course_ids[]=67890'.
Hope this helps!
--Colin
The Live API may not be working as expected. I tried to write the input in a few ways but they're all being sent as bad requests. All other API calls seem to be fine, this one may need fixing by someone from Instructure.
If you want to run that particular API, you'd need to curl it another way (e.g. postman). and send course_ids[] in the body.
How are you sending the course_ids[] in the body?
We are giving the Canvas Admins area a little bit of love (especially questions that are really, really old) and just want to check in with you. This will also bring this question new attention.
Were you able to find an answer to your question? I am going to go ahead and mark this question as answered because there hasn't been any more activity in a while so I assume that you have the information that you need. If you still have a question about this or if you have information that you would like to share with the community, by all means, please do come back and leave a comment. Also, if this question has been answered by one of the previous replies, please feel free to mark that answer as correct.
Robbie
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.