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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

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.

Enter a gateway URL above to enable sending.

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

TypeScript

import twilio from '@utdk/twilio';

await twilio.deletemedia()