public function deleteList($listId) { // check if record exists if (!$this->existsList($listId)) { return false; } // make the call return (bool) $this->doCall('lists/' . $listId, null, 'DELETE'); }