B2Account Type
Backblaze B2 account information.
Remarks
This type provides information about a Backblaze B2 account and the currently-authenticated application key.
Fields
accountId String |
The Id of the account. This property reflects the Id of the account that the currently-authenticated application key belongs to. | ||||||||||||||||||||||||
allowedBucketId String |
The Id of the bucket that the application key is restricted to. This property reflects the Id of the bucket that the currently-authenticated application key is restricted to. It will be empty if the currently-authenticated application key is not restricted to any specific bucket. | ||||||||||||||||||||||||
allowedBucketName String |
The name of the bucket that the application key is restricted to. This property reflects the name of the bucket that the currently-authenticated application key is restricted to. It will be empty if the currently-authenticated application key is not restricted to any specific bucket; or if it is, but the bucket has been deleted (AllowedBucketId will still be populated in this case). | ||||||||||||||||||||||||
allowedPrefix String |
The file name prefix that the application key is restricted to. This property reflects the file name prefix that the currently-authenticated application key is restricted to. It will be empty if the currently-authenticated application key is not restricted to a specific file name prefix. | ||||||||||||||||||||||||
authToken String |
The authorization token that will be used to authorize requests. This property reflects the actual authorization token that will be used to authorize requests sent to the server. This token is obtained by calling Authorize to authenticate to the server using the current ApplicationKey and ApplicationKeyId values; it is valid for up to 24 hours. | ||||||||||||||||||||||||
capabilities String |
The capabilities that the application key has. This property reflects the capabilities that the currently-authenticated application key has. It is formatted as a comma-separated list of one or more of the following strings:
| ||||||||||||||||||||||||
minPartSize Int64 |
The minimum allowed multipart upload part size. This property reflects the minimum allowed multipart upload part size, in bytes. | ||||||||||||||||||||||||
recPartSize Int64 |
The recommended multipart upload part size. This property reflects the recommended multipart upload part size, in bytes. |