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' => 'unique_file_id_for_backblaze_b2_file',
]);

return $response;

Expected Result

{
  "fileId": "unique_file_id_of_cancelled_backblaze_b2_file",
  "fileId": "unique_account_id",
  "bucketId": "unique_bucket_id_which_file_id_belonged_to",
  "fileName": "a_filename.extension",
}