Skip to content

CancelLargeFile

Craig edited this page Jan 1, 2024 · 11 revisions

How To Use

<?php

use TechKat\BackBlazeB2\Client;

$keyID = '...';
$applicationKey = '...';

$client = new Client($keyID, $applicationKey);

$response = $client->cancelLargeFile([
  'fileId' => '4_za71f544e781e6891531b001a_f200ec353a2184825_d20160409_m004829_c000_v0001016_t0028',
]);

return $response;

Expected Result

{
  "fileId": "4_za71f544e781e6891531b001a_f200ec353a2184825_d20160409_m004829_c000_v0001016_t0028",
  "accountId": "YOUR_ACCOUNT_ID",
  "bucketId": "4a48fe8875c6214145260818",
  "fileName": "bigfile.dat",
}

Backblaze B2 API Documentation

https://www.backblaze.com/apidocs/b2-cancel-large-file