Backblaze · JSON Structure

B2 Native Api Authorize Account Response Structure

Response from the b2_authorize_account operation

Type: object Properties: 4
Cloud StorageObject StorageStorageBackup

AuthorizeAccountResponse is a JSON Structure definition published by Backblaze, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

accountId authorizationToken allowed apiInfo

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/backblaze/refs/heads/main/json-structure/b2-native-api-authorize-account-response-structure.json",
  "name": "AuthorizeAccountResponse",
  "description": "Response from the b2_authorize_account operation",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "description": "The identifier for the account",
      "example": "abc123def456"
    },
    "authorizationToken": {
      "type": "string",
      "description": "An authorization token to use with all calls other than b2_authorize_account",
      "example": "4_002acd2a08df7f8c0c4d21e9deef28c7"
    },
    "allowed": {
      "$ref": "#/components/schemas/AllowedCapabilities"
    },
    "apiInfo": {
      "$ref": "#/components/schemas/ApiInfo"
    }
  }
}