Delete Media
Untuk menghapus media, lakukan panggilan DELETE
ke /media/{{ MEDIA_ID }}
.
Prerequisite
All API calls require authentication with
API_TOKEN
Developers can authenticate their API calls with the API_TOKEN
generated in App Dashboard > Phone Numbers > Detail > Api
. Contoh
Sampel request:
curl -X DELETE 'https://waofficial.botika.online/api/whatsapp/v1/media/{{ MEDIA_ID }}' \ -H 'Authorization: Bearer {{ API_TOKEN }}'
Jika berhasil, Anda menerima status kode 200.
null # or {}