public function BackupMigrateDropboxAPI::file_delete in Backup and Migrate Dropbox 7.2
Same name and namespace in other branches
- 7.3 backup_migrate_dropbox.dropbox_api.inc \BackupMigrateDropboxAPI::file_delete()
Deletes the file at the given $path.
{@link https://www.dropbox.com/developers/documentation/http/documentation#file... Dropbox API /delete}
Parameters
string $path:
Return value
object The json decoded response.
Throws
\RuntimeException
File
- ./
backup_migrate_dropbox.dropbox_api.inc, line 279 - backup_migrate_dropbox.api.inc
Class
- BackupMigrateDropboxAPI
- @file backup_migrate_dropbox.api.inc
Code
public function file_delete($path) {
$parameters = array(
'path' => $path,
);
return $this
->sendMessage('api', 'files/delete_v2', $parameters);
}