Account members
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 one field for expanding the "Get member" response. By default, this field is 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:
- roleAttributes includes a list of the role attributes that you have assigned to the member.
For example, expand=roleAttributes includes roleAttributes field in the response.
get/api/v2/members/{id}
Path parameters
idstring string required
The member ID
The member ID
Query parameters
expandstring string
A comma-separated list of properties that can reveal additional information in the response.
A comma-separated list of properties that can reveal additional information in the response.
Response
Member response
Example response
{
"_id": "507f1f77bcf86cd799439011",
"firstName": "Ariel",
"lastName": "Flores",
"role": "reader",
"email": "ariel@acme.com",
"_verified": true,
"customRoles": [
"devOps",
"backend-devs"
],
"_lastSeenMetadata": {
"tokenId": "5b52207f8ca8e631d31fdb2b"
},
"teams": [
{
"customRoleKeys": [
"access-to-test-projects"
],
"key": "team-key-123abc",
"name": "QA Team"
}
],
"permissionGrants": [
{
"actions": [
"maintainTeam"
],
"resource": "team/qa-team"
}
],
"version": 1
}