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.
Found this content helpful? Log in or sign up to leave a like!
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
Have you tried with the Files delete endpoint (Files - Canvas LMS REST API Documentation😞
DELETE /api/v1/files/:id
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