Environments
Clones an environment
Enterprise feature
Given an existing environment name and a set of options, this will create a copy of that environment
post/api/admin/environments/{name}/clone
Path parameters
namestring required
Request body
Example request
{
"name": "development",
"type": "development"
}Response
environmentSchema
Example response
{
"name": "my-dev-env",
"type": "development",
"enabled": true,
"protected": true,
"sortOrder": 3,
"projectCount": 10,
"apiTokenCount": 6,
"enabledToggleCount": 10,
"requiredApprovals": 3
}