delete_assignment_with_confirmation
Preview an assignment, then confirm deletion to permanently remove it along with all submissions and grades. Use the confirmation token to finalize the two-step process.
Instructions
Delete an assignment. Two-step: preview first, then confirm with the token.
Permanent: removes the assignment together with every submission and grade attached to it. Canvas may retain a recycle-bin copy depending on admin settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assignment_id | Yes | Assignment ID to delete | |
| course_identifier | Yes | Course code or Canvas ID | |
| confirmation_token | No | Token from the preview call; omit to preview | |
| require_name_match | No | Only delete if the assignment name matches this string exactly |