Delete a Message

This endpoint deletes a specified message from a user's DataMotion account. The process involves moving the message to the Trash folder and then to the Deleted Trash folder before permanent deletion.

Note: To delete a message permanently, set the "permanently" query parameter to true. Also, this action does not affect the message in other users' accounts.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

The Id of the message you want to delete.

Query Params
boolean
Defaults to false

When set to True the message shall be permanently deleted.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json