pods > threads

Permanently deletes a thread and all of its messages.

CLI:

agentmail pods threads delete --pod-id <pod_id> --thread-id <thread_id>
delete/v0/pods/{pod_id}/threads/{thread_id}

Request

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

Path parameters

pod_idstring required

ID of pod.

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 pods > threads added

    • info

      api tag PodsThreads 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