Delete a message

Permanently deletes a message by its ID. Use this endpoint to delete a message through the Samva email API.

DELETE
/v1/messages/{id}

Permanently deletes a message by its ID.

x-api-key<token>

In: header

Path Parameters

id*string
Match^msg_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/messages/string"
{  "success": true,  "message": "string"}