DELETE
/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.jsonDelete a message
Deletes a message from the specified account. Use the message account SID and message SID to identify the resource to remove.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
AccountSidstringrequired
The SID of the account associated with the message. Must be a 34-character SID matching the `AC` account identifier format.
Sidstringrequired
The SID of the message to delete. Must be a 34-character SID beginning with `SM` or `MM`.
204Confirms that the message was deleted successfully and returns no response body.
Error handling
AccountSid must be a 34-character SID beginning with AC, and Sid must be a 34-character message SID beginning with SM or MM. Both identifiers must identify the message resource you intend to delete.