WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Media → Bulk Delete

AI-generated

Summary

Bulk delete media files by filename

Inputs

  • mediaFilenames (required) — Comma-separated list of filenames to delete. E.g. "file1.jpg, file2.mp4"

Output shape

a JSON object indicating success, optionally containing a list of deleted filenames

Response may include deleted filenames; errors are handled via continueOnFail and returned as items

Examples

Example 1: Delete two media files

mediaFilenames = "image1.jpg, image2.jpg"

Example 2: Delete a single file

mediaFilenames = "report.pdf"

Example 3: Delete multiple files with surrounding spaces

mediaFilenames = " file1.jpg , file2.png , note.txt "

Links

Discussion