ReferenceWhatsApp Business API
Delete media from WABA storage (deprecated alias)
Deprecated
POST
Deprecated. Use DELETE /media/{mediaId} instead.
This POST alias is kept for backward compatibility with earlier integrations. New integrations should call DELETE /media/{mediaId}: 1msg follows REST conventions for resource deletion going forward.
JWT tokenquery
token<token>application/json- body
mediaId*stringNumeric WABA media id from /uploadMedia
Success
application/json- response
result?stringcurl -X POST 'https://api.1msg.io/123/deleteMedia' \ -H 'Content-Type: application/json' \ -d '{ "mediaId": "123456789012345"}'{ "result": "success"}