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
POST
Create custom role
DEL
Delete custom role
GET
Get custom role
GET
List custom roles
PATCH
Update custom role
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
Custom roles
Delete custom role
DELETE
https://
app.launchdarkly.com
/
api
/
v2
/
roles
/
:customRoleKey
Try it
Delete a custom role by key
Path parameters
customRoleKey
string
Required
The custom role key
Response
Action succeeded
{}
map from strings to any or null
Errors
401
Delete Custom Role Request Unauthorized Error
404
Delete Custom Role Request Not Found Error
429
Delete Custom Role Request Too Many Requests Error
Get custom role
Up Next
Built with