Problem Deleting File in Course Through API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2018
03:06 PM
Hello Canvas Developers,
I'm attempting to delete a file in a course via the API. My request currently looks like this:
https://canvas_url/api/v1/courses/course_id/files/file_id?access_token=myaccesstoken
I sent this via a DELETE command and got back a 422 error which according to google means "The server understands the request that I am making, the syntax is correct, but the server is unable to process the request".
-Christopher Poole