Activity Feed
- Posted Re: Not able to "Undelete" course using rest api endpoint on Canvas Question Forum. 07-01-2021 10:45 PM
- Posted Not able to "Undelete" course using rest api endpoint on Canvas Question Forum. 07-01-2021 01:30 AM
- Liked [Discussions] Multiple Due Dates (checkpoints) for Discussions for chriswhite. 05-28-2020 10:34 AM
My Posts
Post Details | Date Published | Views | Likes |
---|---|---|---|
Not able to "Undelete" course using rest api endpoint Hello all, we are using PUT /v1/courses/{id} api endpoint to delete and undelete a course. but when we call the api with json {"course":{"event":"undelete"}} it gives 401(Unauthorized error).&n... |
07-01-2021 |
440 |
0 |
07-01-2021
10:45 PM
Thanks @chriscas for the quick response. I have already checked and this permission doesn't are in consideration while we use rest api. I talked to canvas support as well. They replied, we are seeing a 401 error when trying to restore a course using the API. The 401 being seen will occur when a course has a SIS ID. When a course has a SIS ID, there are implicit assumption in Canvas that the course is managed by SIS (i.e. CSV uploads). As part of this, deleted courses with a SIS ID are intentionally disallowed from being updated via API. This is why 401 errors are being returned in this circumstance.
... View more