PUT/v1/project/cloneDeprecated

Clone a project

Clones an existing project and lets you choose which project data to include. Supply the source project UUID in project and a non-empty version for the clone; the response provides a token for checking cloning progress. This operation is deprecated; use /api/v2/projects/{uuid}/clone instead.

11 body fields

Clone request details. project and version are required; the remaining fields select data to include in the clone.

includeACLbooleanoptional
Whether to include the project's access-control settings.
includeAuditHistorybooleanoptional
Whether to include the project's audit history.
includeComponentsbooleanoptional
Whether to include the project's components.
includeDependenciesbooleanoptional
Whether to include the project's dependencies.
includePolicyViolationsbooleanoptional
Whether to include the project's policy violations.
includePropertiesbooleanoptional
Whether to include the project's properties.
includeServicesbooleanoptional
Whether to include the project's services.
includeTagsbooleanoptional
Whether to include the project's tags.
makeCloneLatestbooleanoptional
Whether to make the clone the latest project version.
projectstringrequired
The source project's UUID.
versionstringrequired
The version to assign to the clone. Must contain at least one character.

4 status codes
200Returns a cloning progress token and the UUID of the project the BOM was uploaded for.
projectUuidstringrequired
UUID of the project the BOM was uploaded for
tokenstringrequired
Token used to check task progress
401Returned when the request is unauthorized.
403Returned when you lack the required permission or access to the requested project or previous latest project version.
detailstringrequired
Human-readable explanation specific to this occurrence of the problem
instancestringoptional
Reference URI that identifies the specific occurrence of the problem
statusintegerrequired
HTTP status code generated by the origin server for this occurrence of the problem
titlestringrequired
Short, human-readable summary of the problem type
typestringoptional
A URI reference that identifies the problem type
404Returned when the UUID of the project cannot be found.

Error handling

A 401 is returned when the request is unauthorized. A 403 is returned when you lack the required permission or access to the requested project or previous latest project version; a 404 is returned when the project UUID cannot be found. The body must include project as a UUID and a non-empty version; you need PORTFOLIO_MANAGEMENT or PORTFOLIO_MANAGEMENT_CREATE permission.