AnsweredAssumed Answered

Problem Deleting File in Course Through API

Question asked by Christopher Poole on Jul 17, 2018
Latest reply on Jul 17, 2018 by Peter Love

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

Outcomes