suspensionService->toggle($server); return $this->returnNoContent(); } /** * Unsuspend a server on the Panel. * * @throws \Throwable */ public function unsuspend(ServerWriteRequest $request, Server $server): Response { $this->suspensionService->toggle($server, SuspensionService::ACTION_UNSUSPEND); return $this->returnNoContent(); } /** * Mark a server as needing to be reinstalled. * * @throws \Pterodactyl\Exceptions\DisplayException * @throws \Pterodactyl\Exceptions\Model\DataValidationException * @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException */ public function reinstall(ServerWriteRequest $request, Server $server): Response { $this->reinstallServerService->handle($server); return $this->returnNoContent(); } }