Storage
Delete one or more files from project storage
Deletes one or more files from the project's storage bucket. Non-existent files are silently skipped (Supabase-compatible behavior). The response contains FileObject entries only for files that were successfully deleted.
Compatible with the Supabase Storage remove API.
Who may delete what: the project's secret key (or service token) may delete any file. A signed-in end user may delete only files they uploaded themselves. If any existing path is not the caller's, the request is refused with 403 STORAGE_NOT_OWNER and nothing is deleted.
delete/api/storage/{project_id}/remove
Request
- Base URLhttps://core.blink.new
- URLhttps://core.blink.new/api/storage/{project_id}/remove
- AuthHTTP bearer
Path parameters
project_idstring required
Example:my-project-123
Unique identifier for the project
Request body
Example request
{
"paths": [
"uploads/old-document.pdf",
"images/obsolete-avatar.png"
]
}Response
Deletion completed. Returns metadata for each successfully deleted file.
Changes
No recorded changes to this operation across all 1 revision of this API.