inboxes > messages
Delete Message
Changed onPermanently 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 URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/inboxes/{inbox_id}/messages/{message_id}
- AuthHTTP 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
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
inboxes > messagesadded - info
api tag
InboxesMessagesremoved - info
added the success response with the status
- breaking
- 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
- info