Delete Media
DELETE {{URL}}/v1/media/{{Test-Media-ID}}
To delete media in the WhatsApp Business API client, send a DELETE request to the v1/media
endpoint along with the ID of the media that you want to delete. Use the ID from the response to uploading the media or the media message from a Webhook.
Response
A successful response returns a 200 OK
and either null
or {}
. If the media is not found, the response returns 404 Not Found
and contains no body. If you receive a different error message, see Error and Status Messages for more information.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"meta":{"api_status":"stable","version":"v2.45.1"}}