Inboxes

Delete a thread

Move the thread to trash; it and its received messages are removed 30 days later. Reversible until then by moving it back with PATCH. deleted is false when it was already in trash. Requires the inbound:delete scope on a key created by a team owner or admin.

delete/v1/inboxes/{inbox_id}/threads/{thread_id}

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/inboxes/{inbox_id}/threads/{thread_id}
  • Auth: HTTP bearer

Path parameters

inbox_idstring required

The inbox id or its email address

thread_idstring required

The thread id

Response

Moved to trash

objectstring
idstring
deletedboolean

Example response

{
  "object": "inbox_thread"
}

Changes

No recorded changes to this operation across all 1 revision of this API.