Backblaze · Schema

UpdateBucketRequest

UpdateBucketRequest schema from Backblaze B2 Native API

Cloud StorageObject StorageStorageBackup

Properties

Name Type Description
accountId string The account ID
bucketId string The ID of the bucket to update
bucketType string New privacy setting
bucketInfo object New bucket info
corsRules array New CORS rules
lifecycleRules array New lifecycle rules
ifRevisionIs integer Only update if bucket revision matches this value
View JSON Schema on GitHub

JSON Schema

b2-native-api-update-bucket-request-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-update-bucket-request-schema.json",
  "title": "UpdateBucketRequest",
  "description": "UpdateBucketRequest schema from Backblaze B2 Native API",
  "type": "object",
  "properties": {
    "accountId": {
      "type": "string",
      "description": "The account ID",
      "example": "abc123def456"
    },
    "bucketId": {
      "type": "string",
      "description": "The ID of the bucket to update",
      "example": "e73ede9969c64355ef8b"
    },
    "bucketType": {
      "type": "string",
      "enum": [
        "allPublic",
        "allPrivate"
      ],
      "description": "New privacy setting"
    },
    "bucketInfo": {
      "type": "object",
      "description": "New bucket info"
    },
    "corsRules": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "New CORS rules"
    },
    "lifecycleRules": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "New lifecycle rules"
    },
    "ifRevisionIs": {
      "type": "integer",
      "description": "Only update if bucket revision matches this value"
    }
  },
  "required": [
    "accountId",
    "bucketId"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/b2-native-api-update-bucket-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.