Shopware icon

Shopware

Shopware

Actions778

Media Thumbnail Size → Delete Media Thumbnail Size

AI-generated

Overview

This node operation deletes a specific media thumbnail size in the Shopware system. It is useful for managing media assets by removing unwanted or obsolete thumbnail sizes, helping to keep the media library organized and optimized. For example, if a particular thumbnail size is no longer needed for your website or application, this operation can remove it to free up resources.

Use Case Examples

  1. Deleting a media thumbnail size by specifying its unique identifier to clean up unused media sizes.
  2. Automating the removal of outdated thumbnail sizes as part of a media management workflow.

Properties

Name Meaning
Id Identifier for the media_thumbnail_size to be deleted, required to specify which thumbnail size to remove.
Response Data format for the response, allowing customization of the response format if needed.
Request Options Settings to control request behavior such as batching, SSL certificate validation, proxy usage, and timeout duration.

Output

JSON

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

Dependencies

  • An API key credential for authenticating with the Shopware Admin API

Troubleshooting

  • Ensure the 'Id' property is correctly set to a valid media thumbnail size identifier; otherwise, the delete operation will fail.
  • If SSL certificate validation issues occur, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
  • Check proxy settings if requests are not reaching the server, especially in restricted network environments.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.

Discussion