provider Api20100401MediaInstance DELETE /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
@utdk/twilio /2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
Delete the Media resource.
Delete the Media resource.
AccountSid path required
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resource.
string
MessageSid path required
The SID of the Message resource that is associated with the Media resource.
string
Sid path required
The unique identifier of the to-be-deleted Media resource.
string

Try it

Authentication
Configure credentials for Twilio - Api
deletemedia
DELETE/2010-04-01/Accounts/{AccountSid}/Messages/{MessageSid}/Media/{Sid}.json
Delete the Media resource.

Parameters

required

The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that is associated with the Media resource.

required

The SID of the Message resource that is associated with the Media resource.

required

The unique identifier of the to-be-deleted Media resource.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import twilio from '@utdk/twilio';

await twilio.deletemedia()