public function delete($id = false, array $options = array()) { if ($id) { return $this->call($this->buildUrl(array($this->type, $id), $options), "DELETE"); } else { return $this->request(false, "DELETE"); } }