List members of a group Run in API Explorer
List the members (users) that are in a group. If user is owner of the org or has otherwise elevated permissions, they can search by email and the result will also contain emails.
GET
/v2/orgs/{org_name}/groups/{group_name}/members
curl \
--request GET 'https://hub.docker.com/v2/orgs/myorganization/groups/developers/members' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"count": 1,
"next": "string",
"previous": "string",
"results": [
{
"id": "0ab70deb065a43fcacd55d48caa945d8",
"company": "Docker Inc",
"date_joined": "2021-01-05T21:06:53.506400Z",
"full_name": "John Snow",
"gravatar_email": "string",
"gravatar_url": "string",
"location": "string",
"profile_url": "string",
"type": "User",
"username": "dockeruser",
"email": "dockeruser@docker.com"
}
]
}
Response examples (401)
{
"errinfo": {},
"detail": "string",
"message": "string"
}
Response examples (403)
{
"errinfo": {},
"detail": "string",
"message": "string"
}
Response examples (404)
{
"errinfo": {},
"detail": "string",
"message": "string"
}