Environments
Updates an environment by name
Enterprise feature
Given an environment by name updates the environment with the given payload. Note that name, enabled and protected cannot be changed by this API
put/api/admin/environments/update/{name}
Path parameters
namestring required
Request body
Example request
{
"requiredApprovals": 3
}Response
environmentSchema
Example response
{
"name": "my-dev-env",
"type": "development",
"enabled": true,
"protected": true,
"sortOrder": 3,
"projectCount": 10,
"apiTokenCount": 6,
"enabledToggleCount": 10,
"requiredApprovals": 3
}