b2_list_group_members
GET {{apiUrl}}/b2api/v2/b2_list_group_members?adminAccountId={{accountId}}&groupId=
Lists active Group members for a specific groupId
.
There is a limit of 5,000 Group members per Group.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
adminAccountId | string | Required. The accountId of the Group admin. This account must be authorized for the Partner API. | |
groupId | null | Required. The groupId of the Group to list Group members. | |
startEmail | null | Optional. The first email address of the Group member to return. If there are no Group members with this name, the first Group member after the given email address will be the first in the list. | |
maxMemberCount | null | Optional. The maximum number of Group members to return from this call. The default value is 100, and the maximum is 1000. Passing in 0 means to use the default of 100. |
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
{"groupId":"123456","groupMembers":[{"accountId":"123456789abc","b2Stats":{"b2BytesStoredCount":0,"b2FilesStoredCount":0,"b2StatsAsOfTimestamp":"d20240512_m010709","bucketCount":0},"email":"user@example.com","groupId":"123456","groupName":"B2 Group","region":"us-west","s3Endpoint":"s3.us-west-002.backblazeb2.com"}],"groupName":"B2 Group","nextEmail":null}