curl --request DELETE \
--url https://api.replyke.com/api/v6/:projectId/api/v7/storage/:fileIdDelete a file and all its variants from storage
curl --request DELETE \
--url https://api.replyke.com/api/v6/:projectId/api/v7/storage/:fileId{
"message": "File deleted successfully",
"fileId": "uuid",
"deletedPaths": [
"images/abc123/original.webp",
"images/abc123/thumbnail_original.webp",
"images/abc123/medium_original.webp"
]
}
deletedPaths lists all storage paths that were removed, including the original file and any image variants.
Not Found — 404
{ "error": "File not found", "code": "storage/file-not-found" }