Move upload folder

http
POST /projects/{project_reference}/uploads/folders/{folder_path}/move

Move a folder, its child folder settings and its active uploads to a new unused path. Requires project.uploads.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
folder_pathpathYesFolder path; a trailing slash is appended when absent.

Request body

FieldTypeRequiredDescription
destination_pathstringYesUnused destination folder path; a trailing slash is appended when absent.

Responses

StatusDescription
200Folder moved.
400Invalid input
401Unauthorized
403Forbidden
404Source folder not found
409Destination folder already exists, or an upload in the folder has no stored content yet
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.