Copy a file between projects

This call copies the specified file to a new project. Files retain their metadata when copied, but may be assigned new names in their target project.

To make this call, you should have copy permission within the project you are copying from.

If you want to copy multiple files, the recommended way is to do it in bulk considering the API rate limit (learn more).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID for the file you are querying. It can be obtained by making the call to list your files (primary method).

Query Params
fields
array of strings

Selector specifying a subset of fields to include in the response.

fields
Body Params
string
required

The name of the project you want to copy the file to. Project name should be specified in the <username>/<project-name> format, e.g. rfranklin/my-project.

string

The new name the file will have in the target project. If its name will not change, omit this key.

Headers
string
required

Your Seven Bridges Platform authentication token. For security reasons, token will not be automatically populated in the generated code sample. Please replace <your-token-here> with your token before executing this call.

Response

Language
LoadingLoading…
Response
Choose an example:
application/json