provider Views (beta) PATCH /api/v2/projects/{projectKey}/views/{viewKey}
@utdk/launchdarkly /api/v2/projects/{projectKey}/views/{viewKey}
Update view
Edit an existing view. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { "description": "Example updated description", "tags": ["new-tag"] } ```
LD-API-Version header required
Version of the endpoint.
enum: beta
projectKey path required
string
viewKey path required
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.

updateview
PATCH/api/v2/projects/{projectKey}/views/{viewKey}
Edit an existing view. The request body must be a JSON object of the fields to update. The values you include replace the existing values for the fields. Here's an example: ``` { "description": "Example updated description", "tags": ["new-tag"] } ```

Parameters

required
required

Input

Human-readable name for the view

Optional detailed description of the view

Member ID of the maintainer for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified.

Key of the maintainer team for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified.

Tags associated with this view

Whether or not the view is archived

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.updateview()