Delete a Message resource
To delete a Message resource, send a DELETE request to the Message resource's URI.
If the DELETE request is successful, Twilio's response status code isHTTP 204 (No Content)
.A deleted Message resource no longer appears in your Account's Messaging logs. Deleted messages cannot be recovered.
Deleting a Message resource also deletes any associated Media and/or MessageFeedback sub-resources. Any associated media file is also deleted unless the same media file is associated with another Message resource in your Account. For example, if you send 1,000 messages with the same media file (e.g., a.jpeg
file), that media file remains accessible until all 1,000 associated Message resources (and/or the associated Media sub-resources) are deleted.Message bodies may persist for up to 30 days after an HTTP DELETE request in our database backups.
Parameters
Parameters in REST API format