b2_create_group_member

POST {{groupsApiUrl}}/b2api/v2/b2_create_group_member

Creates a new Backblaze account and adds the new accounts to a Group as a Group member.

The email for the new Group member must not already exist as a Backblaze account. Note: A Backblaze Group member account can only be a member of one Group at a time. The email does not have to be a real email address, but must be in the format of one. The new Backblaze account will not be able to log in to Backblaze once created, but can only be managed by the Group admin account from the Group admin's Group Management page. Due to these restrictions, the Group that the new account is being added to is required to be a managed Group with Backblaze B2 enabled as a Group product. The new Group member will be provided with the same services enabled on the Group to which they are being added.

There is a limit of 5,000 Group members per Group.

Request Body

{"adminAccountId"=>"{{accountId}}", "groupId"=>"<string>", "memberEmail"=>"<string>", "region"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringRun 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

{&quot;applicationKey&quot;:&quot;K002kljhnvn+ewpvnuievnwepNCUEIR&quot;,&quot;applicationKeyId&quot;:&quot;002123456789abc0000000001&quot;,&quot;groupMember&quot;:{&quot;accountId&quot;:&quot;123456789abc&quot;,&quot;email&quot;:&quot;user@example.com&quot;,&quot;groupId&quot;:&quot;123456&quot;,&quot;groupName&quot;:&quot;B2 Group&quot;,&quot;region&quot;:&quot;us-west&quot;,&quot;s3Endpoint&quot;:&quot;s3.us-west-002.backblazeb2.com&quot;}}