Create a fork
POST {{baseUrl}}/environments/{{environmentUid}}/forks?workspace=<string>
Creates a [fork] from an existing environment into a workspace. Include the following properties in the request body:
- forkName— A string value that contains the forked environment's [label]
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| workspace | string | (Required) The workspace ID in which to fork the environment. | 
Request Body
{"forkName"=>"{{forkLabel}}"}
RESPONSES
status: OK
{"environment":{"forkName":"Test Fork","uid":"12345678-0fcea3ba-abcf-49c3-9f48-669c208fef25","name":"Testing Environment"}}