Delete a thread
DELETE
/v1/email/threads/{thread_id}
curl -X DELETE "https://us1.platform.bird.com/v1/email/threads/{thread_id}" \
-H "Authorization: Bearer $TOKEN" \
--url-query "permanent=false"Moves the conversation and all of its messages to the trash. Trashed messages are permanently deleted after 30 days. Pass permanent=true to permanently delete the conversation and its messages immediately.
Queryparameters
permanent
boolean
Permanently delete the conversation and its messages immediately instead of moving them to the trash.