latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Copy

Copy Workspace

Used to copy the contents of one workspace to another. This is not idempotent - multiple calls will create multiple copies in the destination. Both workspaces must be in the same account or company.

post/copy/workspaces

Request body

source_workspace_idstring required

The id of the workspace from which to copy

destination_workspace_idstring required

The id of the destination workspace

include_defaultsboolean

Include default tests during copy; defaults to false. If this parameter is provided, the "tests" scope will be implicitly included to the copy operation

included_testsstring[]

A list of the tests to copy. If empty, all tests that are not in the excluded_list will be copied. If this parameter is provided, the "tests" scope will be implicitly included to the copy operation

excluded_testsstring[]

A list of ids of tests to exclude from the copy. If this parameter is provided, the "tests" scope will be implicitly included to the copy operation

entity_scopesWorkspaceCopyEntityScope[]

A list of entity types to include in the copy, if nothing is provided all supported entity types will be copied. Some entities of the excluded types may need to be created due to entity dependencies.

Response

Operation was successful