LaunchDarkly docs
Search
/
Sign in
Get a demo
Home
Guides
SDKs
Integrations
API docs
Home
Guides
SDKs
Integrations
API docs
Overview
Access tokens
Account members
Account members (beta)
Account usage (beta)
AI configs (beta)
Applications (beta)
Approvals
Approvals (beta)
Audit log
Code references
Contexts
Context settings
Custom roles
Data Export destinations
Environments
POST
Create environment
DEL
Delete environment
GET
Get environment
GET
List environments
POST
Reset environment mobile SDK key
POST
Reset environment SDK key
PATCH
Update environment
Experiments
Feature flags
Feature flags (beta)
Flag import configurations (beta)
Flag links (beta)
Flag triggers
Follow flags
Holdouts (beta)
Insights charts (beta)
Insights deployments (beta)
Insights flag events (beta)
Insights pull requests (beta)
Insights repositories (beta)
Insights scores (beta)
Integration audit log subscriptions
Integration delivery configurations (beta)
Integrations (beta)
Layers
Metrics
Metrics (beta)
OAuth2 Clients
Persistent store integrations (beta)
Projects
Relay Proxy configurations
Release pipelines (beta)
Releases (beta)
Scheduled changes
Segments
Tags
Teams
Teams (beta)
Users
Users (beta)
User settings
Webhooks
Workflows
Workflow templates
Other
Sign in
Get a demo
Overview
Environments
Delete environment
DELETE
https://
app.launchdarkly.com
/
api
/
v2
/
projects
/
:projectKey
/
environments
/
:environmentKey
Try it
Delete a environment by key.
Path parameters
projectKey
string
Required
The project key
environmentKey
string
Required
The environment key
Response
Action succeeded
{}
map from strings to any or null
Errors
401
Delete Environment Request Unauthorized Error
403
Delete Environment Request Forbidden Error
404
Delete Environment Request Not Found Error
429
Delete Environment Request Too Many Requests Error
Get environment
Up Next
Built with