Delete A Message

This method is used to delete a message from a folder. When a message is deleted, it's normally moved to a Trash folder and then a Deleted Trash folder before being permanently purged from the DataMotion account. The trash deletion mechanism is controlled by the DataMotion server. Deleting a message only removes the message from the current user's account. It does not remove the message from the account of any other DataMotion users referenced in the message.

Optional URL Parameter: Include "?Permanently=true" to force a message to be permanently deleted from the account, bypassing any Trash folders.

Note: The MessageId of the message you'd like to retrieve must be passed in the URL of this method

Click Try It! to start a request and see the response here!