delete_announcements_by_criteria
Remove Canvas announcements that match specified criteria. Preview matching items first, then confirm with the token to permanently delete them.
Instructions
Delete announcements matching criteria. Two-step: preview first, then confirm with the token.
Permanent — Canvas may retain a recycle-bin copy depending on admin settings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of announcements to delete (safety limit) | |
| criteria | Yes | Dict with keys: title_contains, older_than (ISO), newer_than (ISO), title_regex | |
| course_identifier | Yes | Course code or Canvas ID | |
| confirmation_token | No | Token from the preview call; omit to preview |