Actions14
- Pesan Actions
- Channel Actions
- Hp Mu Actions
- Media Actions
Pesan → Delete
AI-generatedSummary
Delete a WhatsApp message using its message ID and recipient number through the MPWAH API.
Inputs
- Recipient Number (To) (required) — Nomor WhatsApp tujuan (Penerima). Jangan pakai +, awali dengan kode negara.
- Message ID (required) — The ID of the message to delete
Output shape
a single JSON object indicating success or failure of the delete operation
The response JSON will reflect the API's success status and message; errors are thrown for API issues unless the node is set to continue on fail.
Examples
Example 1: Deleting a message
Provide the recipient's phone number in international format without +, and the message ID of the message to delete. Upon execution, the node calls the MPWAH API endpoint '/backend-delete-message' with these parameters and returns the API response indicating whether the deletion was successful.