Skip to main content
flag
Mon - Fri   10:00 – 18:00

Delete Media

API Documentation / WhatsApp / Delete Media

Base URL for your account: https://cpaas.studio

DELETE /api/whatsapp/v1/media/{uid}

Delete a file — refused (409) while a template or an active campaign uses it.

No parameters.

Request example

curl -X DELETE "https://cpaas.studio/api/whatsapp/v1/media/WMD7Q2M4X8A1B" \
  -H "X-API-KEY: cpk_xxxxxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Success response (data)

[]

Need more context? See Getting started for authentication, the response envelope, and the full error-code reference.