Storage
Move or rename a file
Moves a file from fromPath to toPath within the same project bucket. The operation is implemented as a copy followed by a delete of the original. Can also be used to rename a file by specifying a new name in the same folder.
Compatible with the Supabase Storage move API.
Server only: requires the project's secret key (or service token). End-user tokens and publishable keys get 403 — moving deletes the original.
post/api/storage/{project_id}/move
Request
- Base URLhttps://core.blink.new
- URLhttps://core.blink.new/api/storage/{project_id}/move
- AuthHTTP bearer
Path parameters
project_idstring required
Example:my-project-123
Unique identifier for the project
Request body
Example request
{
"fromPath": "uploads/draft.pdf",
"toPath": "published/final.pdf"
}Response
File moved successfully
Example response
{
"data": {
"message": "Successfully moved"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.