latestOpenAPI 3.1.02026-08-204489152.5 KB

726970fd2992

Files

Copy a file between projects

Copies a source file into another project, using the source file path as the target path.

post/files/copy

Request body

sourceProjectIdstring uuid required

Project that contains the source file.

targetProjectIdstring uuid required

Project to copy the file into.

sourceFilePathstring required

File path within the source project. The same normalized path is used in the target project.

Example request

{
  "sourceProjectId": "61a8d92e-aa72-4f2e-8dce-cb78e10ecf7c",
  "targetProjectId": "a7306e95-d5fb-4b63-8274-241ab9543e5d",
  "sourceFilePath": "data/input.csv"
}

Response

File copied