Clone Project
POST/v0/projects/:project_id/clone
Clones the Project: a new Project with the given name receives a copy of every Scenario (and its rows) in the source. Runs and their results, dashboards, and monitors are not copied; Targets, Drivers, and Checks are org-shared and visible from every Project, so there is nothing to copy. An archived source Project is clonable.
The clone runs in one bounded transaction: it either completes whole or rolls back whole.
Request
Responses
- 200
- 400
- 401
- 404
- 409
- 422
- 500
- 503
Successful Response
Input data is incorrect
Okareo API token has failed authentication
Data is not found
The clone is blocked (the new name collides with an existing Project, or is reserved). The detail is the full clone plan.
Input data is invalid
The clone failed unexpectedly and was rolled back whole; nothing was created.
The clone transaction hit its lock/statement timeout and was rolled back whole; retry.