- Print
- DarkLight
b2_create_group_member
- Print
- DarkLight
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.
An account authorization token, obtained from b2_authorize_account.
The accountId
of the Group admin. This account must be authorized for the Partner API.
The Group ID to which the new Backblaze account will be added. The Group must be enabled for Group admin management and have the Backblaze B2 product enabled.
The new Group member's email address.
Email addresses cannot already be an existing Backblaze account. If the Group is enabled for SSO login, the email address must belong to the SSO domain.
The region that the new Backblaze account's data will reside in. If null
, the current default region for new accounts will be used. Valid options are "us-east", "us-west" or "eu-central".
The request succeeded.
The Backblaze B2 applicationKeyId
for the new Group member, required for the call to b2_authorize_account.
The Backblaze B2 applicationKey
for the new Group member, required for the call to b2_authorize_account.
The accountId
for the Group member.
The unique ID of the Group to which the new account was added as a member.
The Group name of the Group to which the new account was added as a member.
The region in which the Group member's account data will reside.
The end point domain for the Backblaze S3 Compatible API. The end point has the format s3.us-west-NNN.backblazeb2.com or s3.eu-central-NNN.backblazeb2.com
status | code | description |
---|---|---|
400 | bad_request | The request had the wrong fields or illegal values. The message returned with the error will describe the problem. |
The numeric HTTP status code. Always matches the status in the HTTP response.
A single-identifier code that identifies the error.
A human-readable message, in English, saying what went wrong.
status | code | description |
---|---|---|
401 | too_many_members | The Group is already at the maximum Group member count. |
401 | invalid_group_id | The groupId is invalid, the Group has been deleted, the Group admin is not a Group admin for the Group. |
401 | invalid_email | The Group member's email is an invalid email or already exists as a Backblaze account. |
401 | invalid_region | The region, if provided, is not a valid Backblaze region. |
401 | invalid_sms_phone | The Group Admin must have a valid SMS phone number on their account to create Group members. |
401 | unauthorized | The auth token used is valid, but does not authorize this call with these parameters. The capabilities of an auth token are determined by the Application Key used with b2_authorize_account. |
401 | bad_auth_token | The auth token used is not valid. Call b2_authorize_account again to either get a new one, or an error message describing the problem. |
401 | expired_auth_token | The auth token used has expired. Call b2_authorize_account again to get a new one. |
401 | method_failure | The process for adding a new Group member did not successfully complete. When this occurs, a background process will be started to fully back out the Group member and delete the account. After the background process completes, creating the new Group member can be retried. Please verify the state of the new Group member and their Backblaze account before retrying. |