DELETE/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json

Delete a message

Deletes a Message resource from an account. Supply the account SID and Message SID for the resource you want to remove. The operation does not return a response body.

2 parameters
AccountSidstringrequired
The SID of the account associated with the Message resource. It must be a 34-character account SID beginning with `AC`.
Sidstringrequired
The SID of the Message resource to delete. It must be a 34-character SID beginning with `SM` or `MM`.

1 status code
204Returns no response body and confirms that the Message resource was deleted.

Error handling

AccountSid must be a 34-character account SID beginning with AC, and Sid must be a 34-character Message SID beginning with SM or MM. Use the SID of the Message resource you want to delete.