Shopware icon

Shopware

Shopware

Actions778

Cms Block → Delete Cms Block

AI-generated

Overview

This node operation deletes a CMS Block resource in a Shopware system. It is useful for scenarios where you need to programmatically remove CMS Blocks by their identifier, such as cleaning up unused content blocks or automating content management workflows.

Use Case Examples

  1. Deleting a CMS Block by specifying its unique ID to remove outdated or irrelevant content from the Shopware CMS.
  2. Automating the removal of multiple CMS Blocks in batch processes to maintain a clean and updated content structure.

Properties

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

Output

JSON

  • id - The identifier of the deleted CMS Block.
  • status - Status of the delete operation, indicating success or failure.
  • message - Additional information or message related to the delete operation result.

Dependencies

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

Troubleshooting

  • Ensure the 'Id' property is correctly set to a valid CMS Block identifier; otherwise, the delete operation will fail.
  • If SSL certificate validation issues occur, consider enabling 'Ignore SSL Issues' option, but be aware of security risks.
  • Check proxy settings if network requests fail due to connectivity issues.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if needed.

Links

Discussion