Move upload

http
POST /projects/{project_reference}/uploads/{upload_reference}/move

Move an upload to another path in the same project, keeping its ID. Requires project.uploads.write.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
upload_referencepathYes

Request body

FieldTypeRequiredDescription
destination_pathstringProject-relative destination path.
new_pathstringAnother spelling of destination_path. Send one of the two.

Responses

StatusDescription
200File moved successfully.
400Invalid input
401Unauthorized
403The caller lacks access to the upload or path
404Source file not found
409The upload changed concurrently, or its content was never sent to its upload URL
500Server error