Skip to main content
DELETE
Delete Asset
Permanently deletes an asset from both R2 storage and the database. This action cannot be undone.

Path Parameters

string
required
The asset ID (UUID).

Response

200
404

Delete Asset by URL

Delete an asset from R2 storage by its public URL. Useful for cleaning up images that aren’t tracked in the assets table (e.g. influencer images, product images).

Body Parameters

string
required
The public R2 URL of the file to delete.

Response

200