Backblaze · JSON Structure

B2 Native Api Delete File Version Request Structure

DeleteFileVersionRequest schema from Backblaze B2 Native API

Type: object Properties: 3 Required: 2
Cloud StorageObject StorageStorageBackup

DeleteFileVersionRequest is a JSON Structure definition published by Backblaze, describing 3 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

fileName fileId bypassGovernance

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-delete-file-version-request-structure.json",
  "name": "DeleteFileVersionRequest",
  "description": "DeleteFileVersionRequest schema from Backblaze B2 Native API",
  "type": "object",
  "properties": {
    "fileName": {
      "type": "string",
      "description": "The name of the file",
      "example": "photos/image.jpg"
    },
    "fileId": {
      "type": "string",
      "description": "The ID of the file version to delete",
      "example": "4_h4a48fe8875c6214145260818"
    },
    "bypassGovernance": {
      "type": "boolean",
      "description": "Set to true to bypass object lock governance mode"
    }
  },
  "required": [
    "fileName",
    "fileId"
  ]
}