inboxes > messages

Permanently deletes a message.

CLI:

agentmail inboxes messages delete --inbox-id <inbox_id> --message-id <message_id>
delete/v0/inboxes/{inbox_id}/messages/{message_id}

Request

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

Path parameters

inbox_idstring required

The ID of the inbox.

message_idstring required

ID of message.

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 > messages added

    • info

      api tag InboxesMessages removed

    • info

      added the success 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

    • info

      added the optional property to the response with the status