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]
Body
PARAM
Key | Datatype | Required | Description |
workspace
|
string | (Required) The workspace ID in which to fork the environment. |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"environment": {
"forkName": "Test Fork",
"uid": "12345678-0fcea3ba-abcf-49c3-9f48-669c208fef25",
"name": "Testing Environment"
}
} |
ENDPOINTS