Remove a user from a group Run in API Explorer
DELETE
/v2/orgs/{org_name}/groups/{group_name}/members/{username}
curl \
--request DELETE 'https://hub.docker.com/v2/orgs/myorganization/groups/developers/members/jonsnow' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
"errinfo": {},
"detail": "string",
"message": "string"
}
Response examples (403)
{
"errinfo": {},
"detail": "string",
"message": "string"
}
Response examples (404)
{
"errinfo": {},
"detail": "string",
"message": "string"
}