Delete File
delete_filePermanently delete a file by ID, and return the deleted file object (its last known metadata) — the content is gone and there is no undelete.
Instructions
Permanently delete a file by ID, and return the deleted file object (its last known metadata) — the content is gone and there is no undelete. Use upload_file to put a replacement back afterward; Canvas assigns the new file a different ID rather than reusing the deleted one. Requires permission to manage files in the course.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The Canvas file ID |