Listmonk icon

Listmonk

Interact with Listmonk API

Actions71

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

  1. Deleting a media file from a media library by specifying its unique ID.
  2. 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

Discussion