Crownpeak DQM icon

Crownpeak DQM

Interact with Crownpeak DQM CMS API

Overview

The "Delete Asset" operation in the Crownpeak DQM node allows users to remove an existing content asset from the Crownpeak DQM CMS system. This is useful for managing and cleaning up outdated or unwanted assets within a website managed by Crownpeak DQM.

Typical scenarios include:

  • Removing obsolete web pages or content pieces that are no longer relevant.
  • Cleaning up test or draft assets before publishing.
  • Automating content lifecycle management by deleting assets based on certain criteria.

For example, if a user wants to delete a specific asset identified by its unique ID from their website, they can use this operation to send a deletion request to the Crownpeak DQM API.

Properties

Name Meaning
Asset Identifier The unique identifier of the asset to be deleted. This specifies which asset to remove.

Output

The output is a JSON array containing the response from the Crownpeak DQM API after attempting to delete the specified asset. Typically, this will include confirmation of deletion or any error messages returned by the API.

No binary data is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Crownpeak DQM CMS API.
  • Needs the base URL and website ID configured in the credentials or node parameters.
  • The node uses HTTP DELETE requests to interact with the Crownpeak DQM API endpoint for asset deletion.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent asset identifier will result in an error from the API.
    • Missing or incorrect API key or website ID will cause authentication failures.
    • Network connectivity problems may prevent successful API calls.
  • Error messages:

    • "Unsupported operation" — indicates the operation parameter was set incorrectly; ensure "deleteAsset" is selected.
    • API errors related to authorization or asset not found will be returned as part of the JSON response; verify credentials and asset ID correctness.
  • Resolution tips:

    • Double-check the asset ID value for typos.
    • Confirm that the API key has sufficient permissions to delete assets.
    • Ensure the website ID corresponds to the correct site where the asset exists.

Links and References

  • Crownpeak DQM API Documentation (refer to official Crownpeak resources for detailed API specs)
  • n8n HTTP Request Node documentation for understanding underlying HTTP interactions

Discussion