Skip to main content

Toggle the environment with `name` on

POST 

<your-unleash-url>/api/admin/environments/:name/on

Makes it possible to enable this environment for a project. An environment must first be globally enabled using this endpoint before it can be enabled for a project

Request

Path Parameters

    name stringrequired

Responses

This response has no body.

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
curl -L -X POST '<your-unleash-url>/api/admin/environments/:name/on' \
-H 'Authorization: <Authorization>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!