getParsedBody(); $id = $data->id ?? null; if (!$id) { throw new BadRequest('No Kündigung ID provided'); } $service = $this->getRecordService(); $result = $service->initiateEviction($id); return $result; } }