---
title: "Copy Organization"
method: POST
path: "/copy/organizations"
tags: ["Copy"]
deprecated: true
---

# Copy Organization

`POST /copy/organizations`

> **Deprecated.**

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.

## Query parameters

- `source_workspace_id` string, required
- `destination_workspace_id` string, required
- `include_defaults` boolean
- `included_tests` string[]
- `excluded_tests` string[]

## Request body

- WorkspaceCopyEntityScopeBody
  - `entity_scopes` WorkspaceCopyEntityScope[] — 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 `200`

Operation was successful

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
