/** * Handles DELETE action * * @return \DreamFactory\Core\Utility\ServiceResponse * @throws BadRequestException * @throws \Exception */ protected function handleDELETE() { if (empty($this->resource)) { return false; } return EventScript::deleteById($this->resource, $this->request->getParameters()); }