SudoMock icon

SudoMock

Generate PSD mockups, photo mockups and product videos for Print-on-Demand automation. Upload PSDs, turn product photos into mockups, render with your designs, render videos, run renders asynchronously, track jobs, and manage webhooks.

Actions229

Image → Artwork: Delete Stored Files

AI-generated

Summary

Delete stored artwork files by specifying either a list of artwork URLs or all artwork associated with a given mockup UUID.

Inputs

  • Delete By (required) — Choose deletion method: 'URLs' to delete specific stored artwork or preview URLs, or 'Mockup UUID' to delete all stored artwork belonging to a specific mockup.
  • URLs (required) — Provide a JSON array of stored artwork or preview URLs to delete. Required only if 'Delete By' is set to 'URLs'.
  • Mockup UUID (required) — Provide the mockup UUID to delete all stored artwork associated with it. Required only if 'Delete By' is set to 'Mockup UUID'.

Output shape

a single JSON response object indicating success or failure of the deletion request

The response JSON contains the API response confirming deletion; errors are raised or returned depending on node settings.

Examples

Example 1: Delete artwork files by URLs

Set 'Delete By' to 'URLs' and provide a JSON array of artwork URLs in the 'URLs' input.

Example 2: Delete all artwork for a specific mockup

Set 'Delete By' to 'Mockup UUID' and provide the mockup UUID to delete all artwork associated with that mockup.

Links

Discussion