provider Access tokens GET /api/v2/tokens
@utdk/launchdarkly /api/v2/tokens
List access tokens
Fetch a list of all access tokens.
showAll query
If set to true, and the authentication access token has the 'Admin' role, personal access tokens for all members will be retrieved.
boolean
limit query
The number of access tokens to return in the response. Defaults to 25.
integer
offset query
Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.
integer

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.

gettokens
GET/api/v2/tokens
Fetch a list of all access tokens.

If set to true, and the authentication access token has the 'Admin' role, personal access tokens for all members will be retrieved.

The number of access tokens to return in the response. Defaults to 25.

Where to start in the list. This is for use with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.

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