Backblaze · Schema

AllowedCapabilities

What the credentials allow

Cloud StorageObject StorageStorageBackup

Properties

Name Type Description
capabilities array A list of capabilities
bucketId string Bucket ID restricted to, or null
bucketName string Bucket name restricted to, or null
namePrefix string File name prefix restriction, or null
View JSON Schema on GitHub

JSON Schema

b2-native-api-allowed-capabilities-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/backblaze/refs/heads/main/json-schema/b2-native-api-allowed-capabilities-schema.json",
  "title": "AllowedCapabilities",
  "description": "What the credentials allow",
  "type": "object",
  "properties": {
    "capabilities": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "A list of capabilities"
    },
    "bucketId": {
      "type": "string",
      "nullable": true,
      "description": "Bucket ID restricted to, or null"
    },
    "bucketName": {
      "type": "string",
      "nullable": true,
      "description": "Bucket name restricted to, or null"
    },
    "namePrefix": {
      "type": "string",
      "nullable": true,
      "description": "File name prefix restriction, or null"
    }
  }
}