Problem Deleting File in Course Through API

cpoole2256
Community Novice

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

Labels (1)
0 Likes