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
POST
Create extinction
POST
Create repository
POST
Delete branches
DEL
Delete repository
GET
Get branch
GET
Get code references statistics for flags
GET
Get links to code reference repositories for each project
GET
Get repository
GET
List branches
GET
List extinctions
GET
List repositories
PATCH
Update repository
PUT
Upsert branch
Contexts
Context settings
Custom roles
Data Export destinations
Environments
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
Code references
Delete branches
POST
https://
app.launchdarkly.com
/
api
/
v2
/
code-refs
/
repositories
/
:repo
/
branch-delete-tasks
Try it
Asynchronously delete a number of branches.
Path parameters
repo
string
Required
The repository name to delete branches for.
Request
This endpoint expects a list of strings.
abc
list of strings
Errors
400
Delete Branches Request Bad Request Error
401
Delete Branches Request Unauthorized Error
403
Delete Branches Request Forbidden Error
404
Delete Branches Request Not Found Error
429
Delete Branches Request Too Many Requests Error
Delete repository
Up Next
Built with