Delete the Media resource.
The Media subresource of a Message resource represents a piece of media, such as an image, that is associated with the Message.
Delete the Media resource.
Path parameters
-
The SID of the Account that is associated with the Media 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 that is associated with the Media resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^(SM|MM)[0-9a-fA-F]{32}$
. -
The unique identifier of the to-be-deleted Media resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^ME[0-9a-fA-F]{32}$
.
DELETE
/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
curl \
--request DELETE 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json' \
--user "username:password"