Environments
Creates a new environment
Enterprise feature
Uses the details provided in the payload to create a new environment
post/api/admin/environments
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/environments
- Auth
- API key in header Authorization
- or HTTP bearer
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
}Changes
No recorded changes to this operation across all 7 revisions of this API.