Environments
Creates a new environment
Enterprise feature
Uses the details provided in the payload to create a new environment
post/api/admin/environments
Request body
Example request
{
"requiredApprovals": 3
}Response
The resource was successfully created.
Example response
{
"name": "my-dev-env",
"type": "development",
"enabled": true,
"protected": true,
"sortOrder": 3,
"projectCount": 10,
"apiTokenCount": 6,
"enabledToggleCount": 10,
"requiredApprovals": 3
}