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

PSD Mockup → Artwork: Delete Stored Files

AI-generated

Summary

Delete stored PSD mockup artwork files either by specifying an array of artwork URLs or by providing the mockup UUID to remove all artwork associated with that mockup.

Inputs

  • Delete By (required) — Choose whether to delete artwork by specifying URLs or by mockup UUID.
  • URLs (required) — A JSON array of URLs of stored artwork or preview images to delete (required if Delete By is URLs).
  • Mockup UUID (required) — UUID of the mockup for which all stored artwork will be deleted (required if Delete By is Mockup UUID).

Output shape

a single JSON object response from the API indicating success or failure

The output JSON contains a success flag and any relevant messages returned from SudoMock's API after attempting to delete the artwork files.

Examples

Example 1: Delete artwork by URLs

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

Example 2: Delete all artwork for a mockup

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

Links

Discussion