Delete a thread
Moves it to trash, where it is deleted after 30 days; moving it out of trash restores it. deleted is false when it was in trash already.
DELETE
/inboxes/{inbox_id}/threads/{thread_id}Autorisation
AuthorizationJeton Bearer · headerrequisA BillionSend API key (bs_…).
Paramètres de chemin
inbox_idstringrequisThe inbox ID or its email address, such as support@example.com
thread_idstring<uuid>requisThe thread ID
Réponses
200
Thread moved to trash
objectstringrequisValeurs autorisées :
inbox_threadidstring<uuid>requisdeletedbooleanrequis401
Missing, malformed, unknown or revoked API key
statusCodenumberrequisnamestringrequismessagestringrequis404
Not found
statusCodenumberrequisnamestringrequismessagestringrequis429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumberrequisnamestringrequismessagestringrequis