workspace

create forked workspace

post/w/{workspace}/workspaces/create_fork

Path parameters

workspacestring required

Request body

idstring required
namestring required
colorstring
shared_ducklakesstring[]

Lake names the fork SHARES with the parent (reads and writes the parent's lake directly). Every lake not listed gets the default isolated fork namespace with read-defer to the parent.

is_dev_workspaceboolean

Create the fork as a persistent dev workspace (id not required to carry the wm-fork- prefix; at most one per parent)

lock_prod_deployboolean

When creating a dev workspace, lock the parent (prod) against direct deployment

lock_prod_forkingboolean

When creating a dev workspace, prevent forking the parent (prod)

copy_membersboolean

Copy the parent's members (users + group memberships) into the fork so the team can work in it

dev_workspace_label'dev' | 'qa' | 'test' | 'uat' | 'staging' | 'demo' | 'sandbox' | 'preprod'

Environment label for the dev workspace: its badge text and the branch it deploys to. Ignored for non-dev forks. Omitted defaults to 'dev'

Response

forked workspace created

Changes

Changed in 4 of the 176 revisions of this API.12

    • added the new demo enum value to the request property dev_workspace_label

      request-property-enum-value-added

    • added the new preprod enum value to the request property dev_workspace_label

      request-property-enum-value-added

    • added the new qa enum value to the request property dev_workspace_label

      request-property-enum-value-added

    • added the new sandbox enum value to the request property dev_workspace_label

      request-property-enum-value-added

    • added the new test enum value to the request property dev_workspace_label

      request-property-enum-value-added

    • added the new uat enum value to the request property dev_workspace_label

      request-property-enum-value-added

    • added the new optional request property dev_workspace_label

      new-optional-request-property

    • added the new optional request property shared_ducklakes

      new-optional-request-property

    • added the new optional request property copy_members

      new-optional-request-property

    • added the new optional request property is_dev_workspace

      new-optional-request-property

    • added the new optional request property lock_prod_deploy

      new-optional-request-property

    • added the new optional request property lock_prod_forking

      new-optional-request-property