project

Move or copy a personal project and its capsules into an organization workspace

Changed on
post/api/preview/projects/{id}/move-to-workspace

Request

Path parameters

idstring required

UUID v4 string

Request body

confirm_exposureboolean

Set true to proceed. Without it the request is refused with a 409 exposure_requires_confirm carrying the exposure, the proposed per-Type mapping and the capsules that stay behind, and nothing changes.

mode'move' | 'copy'

move (default) re-homes the project and its capsules; copy creates a new organization project of copies

targetWorkspaceIdstring required

Organization workspace to move or copy the project into

typeMapobject

Source Type id to a target Type id in the organization, or "create" for a Type of the same shape made there. A source Type left out maps to an organization Type of the same slug and shape when one exists, else "create".

Response

Successful response

project_idstring required

UUID v4 string

workspace_idstring required

UUID v4 string

Changes