Sign inGet Started

Delete a thread

DELETE
/v1/email/threads/{thread_id}
await bird.email.threads.delete("thr_01abc", { permanent: true });

Moves the conversation and all of its messages to the trash. Trashed messages are permanently deleted after 30 days, or sooner if the mailbox's retention period ends first. Pass permanent=true to permanently delete the conversation and its messages immediately.

Paramètres

thread_idstring

Thread identifier. Starts with thr_.

Paramètres de requête

permanentboolean

Permanently delete the conversation and its messages immediately instead of moving them to the trash.

Poursuivez avec la documentation, les guides et les exemples sur ce sujet.