Skip to main content

Deletes an environment by name

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

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Given an existing environment by name, this endpoint will attempt to delete it

Request

Path Parameters

  • name string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
name — path required
curl / cURL
curl -L -X DELETE '<your-unleash-url>/api/admin/environments/:name' \
-H 'Authorization: <API_KEY_VALUE>'