Skip to main content

Remove an environment from a project.

DELETE <your-unleash-url>/api/admin/projects/:projectId/environments/:environment

Authorization

name: Authorizationtype: apiKeyin: header

This endpoint removes the specified environment from the project.

Request

Path Parameters

  • projectId string required
  • environment string required
Responses

This response has no body.

Authorization

name: Authorizationtype: apiKeyin: header

Request

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