Deletes a Message resource from your account
A Message resource represents an inbound or outbound message.
Deletes a Message resource from your account
Path parameters
-
The SID of the Account associated with the Message resource
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The SID of the Message resource you wish to delete
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^(SM|MM)[0-9a-fA-F]{32}$
.
DELETE
/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
curl \
--request DELETE 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json' \
--user "username:password"