Access tokens
Delete access token
Delete an access token by ID.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
id*string
The ID of the access token to update
Format
stringResponse Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v2/tokens/string"Empty
Patch access token PATCH
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).
Reset access token (legacy) POST
Reset an access token's secret key with an optional expiry time for the old key. Use of this legacy handler is discouraged. Patch the `expiry` field on the token directly instead.