b2_eject_group_member
POST {{groupsApiUrl}}/b2api/v2/b2_eject_group_member
Ejects a Group member from a Group.
Ejecting a Group member will not delete the Backblaze account, but will remove the account from the Group. Ejected Group members will need to reset their password when they next log in, and agree to the Backblaze Terms of Service. Any existing application keys created within the Group member's account will continue to be functional.
The ejected Group member cannot be re-added to any Group using the Partner API, however, the account can be invited to join any Group from the Group Management page. If re-invited to join a Group, the Group member's email address cannot be further changed should they be ejected using this API.
Warning
Ejected Group members will need to reset their password when they next log in and agree to the Backblaze Terms of Service.
Please confirm that the new email account passed to the
Request Body
{"adminAccountId"=>"{{accountId}}", "groupId"=>"112669", "memberAccountId"=>"50113791bd20"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | Run b2_authorize_account to populate the collection variable. Note that you must use your account ID as the applicationKeyId and master application key as the applicationKey . |
RESPONSES
status: OK
{"accountId":"123456789abc","email":"user@example.com","groupId":"123456","groupName":"B2 Group","region":"us-west"}