provider Account members GET
/api/v2/members/{id} @utdk/launchdarkly
/api/v2/members/{id} Get account member
Get a single account member by member ID.
`me` is a reserved value for the `id` parameter that returns the caller's member information.
### Expanding the member response
LaunchDarkly supports the following fields for expanding the "Get member" response. By default, these fields are **not** included in the response.
To expand the response, append the `expand` query parameter and add a comma-separated list with any of the following fields:
* `customRoles` includes details on each custom role assigned to the member, including the role key, name, and ID.
* `roleAttributes` includes a list of the role attributes that you have assigned to the member.
For example, `expand=customRoles,roleAttributes` includes both the `customRolesInfo` and `roleAttributes` fields in the response.
- id path required
- The member ID
- string
- expand query
- A comma-separated list of properties that can reveal additional information in the response.
- 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import launchdarkly from '@utdk/launchdarkly';
await launchdarkly.getmember()