inboxes > threads

Permanently deletes a thread and all of its messages.

CLI:

agentmail inboxes threads delete --inbox-id <inbox_id> --thread-id <thread_id>
delete/v0/inboxes/{inbox_id}/threads/{thread_id}

Request

  • Base URL
    https://api.agentmail.to
  • URL
    https://api.agentmail.to/v0/inboxes/{inbox_id}/threads/{thread_id}
  • Auth
    HTTP bearer

Path parameters

inbox_idstring required

The ID of the inbox.

thread_idstring required

ID of thread.

Response

Successful response

Changes

    • breaking

      removed the success response with the status

    • info

      the endpoint scheme security Bearer was added to the API

    • info

      the endpoint scheme security BearerAuth was removed from the API

    • info

      api tag inboxes > threads added

    • info

      api tag InboxesThreads removed

    • info

      added the success response with the status

    • warning

      deleted the query request parameter permanent

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status