Delete File
Permanently deletes a file from Cloudflare R2 storage, removes all database records, translations, relationships with products, and clears CDN cache. Triggers product update events for all items that previously used this file. Deprecated: use DELETE /api/v2/{team_slug}/{app_slug}/dam/files instead.
DELETE
/api/v1/{team_slug}/{app_slug}/files/{file_id}deprecatedAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
file_idstringrequiredFile ID
Responses
200
File deleted successfully
datastringrequireddetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequired401
Unauthorized access
detailsstring[]messagestringsuccessbooleanrequired404
File not found
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired