Remove member from org Run in API Explorer
Removes the member from the org, ie. all groups in the org, unless they're the last owner
DELETE
/v2/orgs/{org_name}/members/{username}
curl \
--request DELETE 'https://hub.docker.com/v2/orgs/myorganization/members/jonsnow' \
--header "Authorization: Bearer $ACCESS_TOKEN"
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"
}