Shopware icon

Shopware

Shopware

Actions778

Media Folder → Delete Media Folder

AI-generated

Overview

This node operation deletes a media folder identified by its unique ID in the Shopware system. It is useful for scenarios where you need to programmatically remove media folders, such as cleaning up unused folders or managing media organization automatically.

Use Case Examples

  1. Deleting a media folder by specifying its ID to remove obsolete or unwanted media storage locations.
  2. Automating media folder management by integrating this node in workflows that handle media lifecycle.

Properties

Name Meaning
Id Identifier for the media_folder to be deleted, required to specify which media folder to remove.
Response Data format for the response, allowing customization of the response data format if needed.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration to control the HTTP request behavior.

Output

JSON

  • id - The ID of the deleted media folder.
  • status - Status of the delete operation, indicating success or failure.
  • message - Additional message or information returned from the delete operation.

Dependencies

  • Requires an API key credential for Shopware Admin API authentication.

Troubleshooting

  • Ensure the provided media folder ID is correct and exists in the Shopware system to avoid 'not found' errors.
  • Check network connectivity and proxy settings if the request fails to reach the Shopware server.
  • If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Timeout errors can occur if the server is slow to respond; adjust the timeout setting accordingly.

Discussion