protected function delete_file_by_path(\repository_onedrive\rest $client, $fullpath) {
        try {
            $response = $client->call('delete_file_by_path', ['fullpath' => $fullpath]);
        } catch (\core\oauth2\rest_exception $re) {
            return false;
        }
        return true;
    }
protected function delete_file_by_path(\repository_onedrive\rest $client, $fullpath) {
        try {
            $response = $client->call('delete_file_by_path', ['fullpath' => $fullpath]);
        } catch (\core\oauth2\rest_exception $re) {
            return false;
        }
        return true;
    }
protected function delete_file_by_path ( \ repository_onedrive \ rest $ client , $ fullpath ) { try { $ response = $ client -> call ( 'delete_file_by_path' , [ 'fullpath' => $ fullpath ] ) ; } catch ( \ core \ oauth2 \ rest_exception $ re ) { return false ; } return true ; }
Delete a file by full path.

@param \repository_onedrive\rest $client Authenticated client.
@param string $fullpath
@return boolean
Delete a file by full path .