Skip to main content
DELETE
/
api
/
v2
/
projects
/
{projectKey}
/
environments
/
{environmentKey}
Delete environment
curl --request DELETE \
  --url https://app.launchdarkly.com/api/v2/projects/{projectKey}/environments/{environmentKey} \
  --header 'Authorization: <api-key>'
{
  "code": "unauthorized",
  "message": "Invalid access token"
}

Documentation Index

Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string<string>
required

The project key

environmentKey
string<string>
required

The environment key

Response

Action succeeded