ExperimentalExperimental
Creates a new PartnerClient. Call authorize before making API requests.
Configuration including credentials, realm, and transport settings.
Readonly ExperimentalpartnerPartner authorization state storage (tokens, URLs, capabilities).
Readonly ExperimentalrawLow-level client for direct Partner API calls.
Readonly ExperimentalurlSSRF allow-list applied by the default transport. null when
a custom transport was supplied; in that case the SDK does not own the
guard.
Experimental
Authenticates with B2 Partner authorization and stores the authorization state.
Optionaloptions: PartnerAuthorizeOptions
Optional abort signal.
The Partner authorization response containing tokens, URLs, and capabilities.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Creates a new Backblaze account and adds it to a Partner group.
This mutation is non-idempotent. Automatic retries and expired-token reauthorization are disabled; long-running batch callers must catch token expiry, call authorize, and decide whether to issue a new request.
Group ID, member email, and optional region.
The created member result, including the member application key.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Ejects an active member from a Partner group without deleting the account.
This mutation is non-idempotent. Automatic retries and expired-token reauthorization are disabled; long-running batch callers must catch token expiry, call authorize, and decide whether to issue a new request.
Group ID, member account ID, and optional replacement email.
The ejected member object.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Lists active members for a Partner group.
Group ID plus optional pagination settings.
A page of group-member results with an optional continuation cursor.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Lists Partner groups for the authorized partner administrator account.
Optionaloptions: ListGroupsOptions
Optional group filter and pagination settings.
A page of Partner groups with an optional continuation cursor.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Async iterator that yields every active member for a Partner group.
Group ID plus optional page size and abort signal.
An async iterable of ListedGroupMember entries.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Async iterator that yields every Partner group for the authorized account.
Optionaloptions: PaginateGroupsOptions
Optional group filter, page size, and abort signal.
An async iterable of PartnerGroup entries.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Reserves a new B2 Reserve trial account.
This operation is non-idempotent and automatic retries/expired-token reauthorization are disabled at the raw layer. If the request fails after the server processes it, the returned application key may be unrecoverable; reconcile account state before reissuing a request for the same email.
Email, trial duration, storage, and optional region for the account to create.
Optionaloptions: ReserveTrialAccountOptions
Optional abort signal.
The created reserve-trial account result.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Reserves a new B2 Reserve trial account.
Email, trial duration, storage, and optional region for the account to create.
Optionaloptions: ReserveTrialAccountOptions
Optional abort signal.
The created reserve-trial account result.
Use reserveTrialAccount. This plural alias is kept for callers that picked up the original experimental facade name.
Partner API surface; shape may change as the Partner API docs evolve.
Experimental
Hides credentials and Partner tokens from JSON.stringify(client).
A redacted diagnostic object.
Experimental
Hides credentials and Partner tokens from default stringification.
A short redacted label.
High-level Partner API client for groups, members, and B2 Reserve trials.
Example
Partner API surface; shape may change as the Partner API docs evolve.