latestOpenAPI 3.0.32026-08-227451,2751.8 MB

d0fc0114da66

Copy

Copy Organization

DEPRECATED - Use copyWorkspace instead. Used to copy the contents of one organization to another. This is not idempotent - multiple calls will create multiple copies in the destination.

post/copy/organizations

Query parameters

source_workspace_idstring required

The ID of the organization from which to copy content

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

Request body

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