List org members Run in API Explorer
Returns a list of members for an organization.
The following fields are only visible to orgs with insights enabled.
last_logged_in_at
last_seen_at
last_desktop_version
To make visible, please see View Insights for organization users.
GET
/v2/orgs/{org_name}/members
curl \
--request GET 'https://hub.docker.com/v2/orgs/myorganization/members' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
{
"count": 120,
"previous": "https://hub.docker.com/v2/some/resources/items?page=1&page_size=20",
"next": "https://hub.docker.com/v2/some/resources/items?page=3&page_size=20",
"results": [
{
"email": "example@docker.com",
"role": "Owner",
"groups": [
"developers",
"owners"
],
"is_guest": false,
"primary_email": "example@docker.com",
"last_logged_in_at": "2021-01-05T21:06:53.506400Z",
"last_seen_at": "2021-01-05T21:06:53.506400Z",
"last_desktop_version": "4.29.0",
"id": "0ab70deb065a43fcacd55d48caa945d8",
"company": "Docker Inc",
"date_joined": "2021-01-05T21:06:53.506400Z",
"full_name": "Jon Snow",
"gravatar_email": "string",
"gravatar_url": "string",
"location": "string",
"profile_url": "string",
"type": "User",
"username": "dockeruser"
}
]
}
]
Response examples (400)
{
"errinfo": {},
"detail": "string",
"message": "string"
}
Response examples (401)
{
"errinfo": {},
"detail": "string",
"message": "string"
}
Response examples (403)
{
"errinfo": {},
"detail": "string",
"message": "string"
}
Response examples (404)
{
"errinfo": {},
"detail": "string",
"message": "string"
}