---
title: "Delete media"
method: DELETE
path: "/whatsapp/1/senders/{sender}/media"
tags: ["channels", "whatsapp", "whatsapp-service-management", "whatsapp-media-management"]
---

# Delete media

`DELETE /whatsapp/1/senders/{sender}/media`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/whatsapp/1/senders/{sender}/media`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

Delete WhatsApp media. May be outbound or inbound media.

## Path parameters

- `sender` string, required

## Request body

- 43838506232bad6c43fa70e5764e200c02c98fad735eeaad33d3b47abc8da5d2UrlDeletionRequest
  - `url` string, required: URL of the WhatsApp media to be deleted.

## Response `204`

Media successfully deleted

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Media not found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
