Delete thread
delete_threadPreview and permanently delete a Discord thread and its messages. First call returns a preview and confirmation token; repeat with the token to confirm deletion.
Instructions
Delete a thread and its messages. Safe to call directly: the first call changes nothing and returns a preview plus a confirm_token; repeating the call with the token deletes it. Archiving is the reversible alternative.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread | Yes | Thread name or ID. | |
| guild | No | Guild (server) name or ID. Omit to use the default guild. | |
| reason | No | ||
| dry_run | No | ||
| confirm_token | No |