Actions66
- Account Actions
- API Key Actions
- Chat Actions
- Contact Actions
- Group Actions
- Media Actions
- Message Actions
- Queue Actions
- Sync Actions
- System Actions
- Webhook Actions
Media → Delete
AI-generatedSummary
Permanently deletes the specified media file from the selected WhatsApp account’s local storage. The metadata record remains with state deleted; SocialMate may be unable to download the file again, especially if WhatsApp’s copy has expired. Requires SocialMate Pro and an admin-scope API key.
Inputs
- Account Name or ID — Select the WhatsApp account. Leave empty to auto-select if the API key is bound to one account; choose an account when the key can access multiple.
- Media ID (required) — ID of the media item, from Media: Get Many or a
media.discoveredtrigger event.
Output shape
A single item containing the API response as JSON.
The delete request targets the selected account’s media endpoint and returns a success response; it does not return the deleted file’s bytes. Errors are raised for failed requests unless Continue On Fail is enabled.