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

Delete media from a message

Deletes a specific media resource associated with a message. Supply the account SID, message SID, and media SID for the resource you want to remove.

3 parameters
AccountSidstringrequired
The SID of the account associated with the media resource, in the format `AC` followed by 32 hexadecimal characters.
MessageSidstringrequired
The SID of the message associated with the media resource, in the format `SM` or `MM` followed by 32 hexadecimal characters.
Sidstringrequired
The SID of the media resource to delete, in the format `ME` followed by 32 hexadecimal characters.

1 status code
204Returns no response body after successfully deleting the media resource.

Error handling

AccountSid must be a 34-character SID beginning with AC, MessageSid must be a 34-character SID beginning with SM or MM, and Sid must be a 34-character SID beginning with ME.