Deletes a message record from your account

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

A Message resource represents an inbound or outbound message.

Deletes a message record from your account

Path parameters

  • AccountSid string Required

    The SID of the Account that created the Message resources to delete.

  • Sid string Required

    The Twilio-provided string that uniquely identifies the Message resource to delete.

Responses

  • The resource was deleted successfully.

DELETE /2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json
curl \
 -X DELETE https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages/{Sid}.json \
 --user "username:password"