provider Approvals (beta) GET /api/v2/approval-requests/projects/{projectKey}/settings
@utdk/launchdarkly /api/v2/approval-requests/projects/{projectKey}/settings
Get approval request settings
Get the approval request settings for the given project, optionally filtered by environment and resource kind.
LD-API-Version header required
Version of the endpoint.
enum: beta
projectKey path required
string
environmentKey query
An environment key filter to apply to the approval request settings.
string
resourceKind query
A resource kind filter to apply to the approval request settings.
string
expand query
A comma-separated list of fields to expand in the response. Options include 'default' and 'strict'.
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getapprovalrequestsettings
GET/api/v2/approval-requests/projects/{projectKey}/settings
Get the approval request settings for the given project, optionally filtered by environment and resource kind.

Parameters

required

An environment key filter to apply to the approval request settings.

A resource kind filter to apply to the approval request settings.

A comma-separated list of fields to expand in the response. Options include 'default' and 'strict'.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.getapprovalrequestsettings()