Actions71
- Settings Actions
- Subscribers Actions
- Create Subscriber
- Manage Subscriber Lists By Query
- Get Subscribers
- Delete Subscriber By List
- Get Subscriber By Id
- Update Subscriber By Id
- Delete Subscriber By Id
- Manage Subscriber Lists
- Manage Subscriber List By Id
- Manage Blocklist By Subscriber List
- Manage Blocklist Subscribers By Id
- Export Subscriber Data By ID
- Get Subscriber Bounces By Id
- Delete Subscriber Bounces By Id
- Subscriber Send Optin By Id
- Delete Subscriber By Query
- Blocklist Subscribers Query
- Bounces Actions
- Import Actions
- Campaigns Actions
- Update Preview Campaign By Id
- Get Campaigns
- Create Campaign
- Get Campaign By Id
- Update Campaign By Id
- Delete Campaign By Id
- Get Running Campaign Stats
- Get Campaign Analytics
- Preview Campaign By Id
- Preview Campaign Text By Id
- Update Campaign Status By Id
- Update Campaign Archive By Id
- Create Campaign Content By Id
- Test Campaign By Id
- Media Actions
- Templates Actions
- Public Actions
- Miscellaneous Actions
- Admin Actions
- Logs Actions
- Lists Actions
- Transactional Actions
- Maintenance Actions
Overview
This node operation deletes a media item by its ID from the Listmonk API. It is useful for managing media resources by removing unwanted or outdated media entries. For example, if you have a media library and want to programmatically delete a specific media item based on its ID, this operation facilitates that.
Use Case Examples
- Deleting a media file from a media library by specifying its unique ID.
- Automating cleanup of media resources in a marketing campaign.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the media item to delete. |
| Request Options | Additional options to customize the request such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
success- Indicates whether the media deletion was successful.id- The ID of the media item that was deleted.
Dependencies
- Requires an API key credential for authenticating with the Listmonk API.
Troubleshooting
- Ensure the provided media ID exists; otherwise, the deletion will fail.
- Check network connectivity and proxy settings if requests time out or fail.
- If SSL certificate validation fails, enable the option to ignore SSL issues, but be aware of security risks.
- Verify that the API key credential is valid and has permissions to delete media items.
Links
- Listmonk API Documentation - Official documentation for the Listmonk API, including media management endpoints.