Delete Asset
Assets
Delete Asset
Delete an asset by ID
DELETE
Delete Asset
Permanently deletes an asset from both R2 storage and the database. This action cannot be undone.
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).
Path Parameters
The asset ID (UUID).
Response
200
404
Delete Asset by URL
Body Parameters
The public R2 URL of the file to delete.
Response
200