public function deleteAllHistoryEntries($withFiles = true)
    {
        $params = [
            'name'      => 'delete',
            'del_files' => $withFiles,
            'value'     => 'all'
        ];
        $url = $this->buildUrl('history', $params);

        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['status'];
    }
public function deleteAllHistoryEntries($withFiles = true)
    {
        $params = [
            'name'      => 'delete',
            'del_files' => $withFiles,
            'value'     => 'all'
        ];
        $url = $this->buildUrl('history', $params);

        $request = $this->guzzle->request('GET', $url);

        return json_decode($request->getBody(), true)['status'];
    }
public function deleteAllHistoryEntries ( $ withFiles = true ) { $ params = [ 'name' => 'delete' , 'del_files' => $ withFiles , 'value' => 'all' ] ; $ url = $ this -> buildUrl ( 'history' , $ params ) ; $ request = $ this -> guzzle -> request ( 'GET' , $ url ) ; return json_decode ( $ request -> getBody ( ) , true ) [ 'status' ] ; }
Deletes all history entries

@param bool $withFiles

@return array
Deletes all history entries