Restart Node.js application
hosting_restartNode_jsApplicationV1Restarts the Node.js server process for a website to apply environment or configuration changes or recover a hung application. Works for server-side apps; static sites are unaffected.
Instructions
Restarts the Node.js server process for the website. Does not rebuild or redeploy the application. Use it to apply environment or configuration changes, or to recover a hung application.
Only applicable to server-side applications (Express, Next.js, NestJS, etc.). Static front-end apps (React, Vue, Vite) have no persistent server process, so restarting them has no effect. Returns success even when the website has no server process to restart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| username | Yes | username parameter |