Skip to main content

Delete a message

Use this endpoint for the Media method to delete a message from your Project so it no longer appears in the Dashboard or on the API. Any Media files that may be associated with this message are not deleted, and will still be available for access in the usual methods.

Messages in progress may not be deleted, and attempting to do so results in an error.

Parameters

Parameter
No Parameters

Request

curl https://example.signalwire.com/api/laml/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}.json \
-X DELETE \
-u "YourProjectID:YourAuthToken"

Responses

204 NO CONTENT

A 204 No Content response indicates that the Message was successfully deleted.