-
Notifications
You must be signed in to change notification settings - Fork 1
CancelLargeFile
Craig edited this page Jan 1, 2024
·
11 revisions
<?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;
{
"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",
}
Below is a list of all the available native API endpoints that this library currently supports:
- cancelLargeFile
- copyFile
- copyPart
- createBucket
- createKey
- deleteBucket
- deleteFileVersion
- deleteKey
- downloadFileById
- downloadFileByName
- finishLargeFile
- getDownloadAuthorization
- getFileInfo
- getUploadPartUrl
- getUploadUrl
- hideFile
- listBuckets
- listFileNames
- listFileVersions
- listKeys
- listParts
- listUnfinishedLargeFiles
- startLargeFile
- updateBucket
- updateFileLegalHold
- updateFileRetention
- uploadFile
- uploadPart