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

Font → Artwork: Delete Stored Files

AI-generated

Summary

Delete stored artwork files by specifying either an array of artwork URLs or a single mockup UUID to remove all associated artwork.

Inputs

  • Delete By (required) — Choose the method to identify artwork to delete: by URLs or by Mockup UUID.
  • URLs (required) — JSON array of artwork or preview URLs to delete. Required if Delete By is set to URLs.
  • Mockup UUID (required) — The UUID of the mockup whose all stored artwork should be deleted. Required if Delete By is set to Mockup UUID.

Output shape

a single JSON object per input item indicating success status and details

Returns JSON response from the SudoMock API's artworks/delete endpoint. If deletion is by URLs, expects a JSON array of string URLs; if by mockup UUID, deletes all artwork related to that mockup. Errors during deletion are handled and surfaced according to n8n's continueOnFail setting.

Examples

Example 1: Delete specific stored artwork files by providing their URLs

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

Example 2: Delete all artwork associated with a specific mockup

Set 'Delete By' to 'Mockup UUID' and provide the mockup's UUID in 'Mockup UUID' parameter.

Links

Discussion