provider Access tokens PATCH /api/v2/tokens/{id}
@utdk/launchdarkly /api/v2/tokens/{id}
Patch access token
Update an access token's settings. Updating an access token uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).
id path required
The ID of the access token to update
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
patchtoken
PATCH/api/v2/tokens/{id}
Update an access token's settings. Updating an access token uses a [JSON patch](https://datatracker.ietf.org/doc/html/rfc6902) representation of the desired changes. To learn more, read [Updates](https://launchdarkly.com/docs/api#updates).

Parameters

required

The ID of the access token to update

Configure credentials above to enable sending.

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

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.patchtoken()