Skip to main content

Toggle the environment with `name` off

POST 

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

Removes this environment from the list of available environments for projects to use

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/off' \
-H 'Authorization: <API_KEY_VALUE>'
Request Collapse all
Base URL
<your-unleash-url>
Auth
Parameters
— pathrequired
ResponseClear

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