# Restart node-red via API

**URL:** <https://discourse.nodered.org/t/restart-node-red-via-api/79691>\
**Category:** General\
**Created:** [10 July 2023 11:00 UTC](https://discourse.nodered.org/t/restart-node-red-via-api/79691 "2023-07-10T11:00:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hinrich](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@hinrich](https://discourse.nodered.org/u/hinrich)\
**Post date:** [10 July 2023 11:00 UTC](https://discourse.nodered.org/t/restart-node-red-via-api/79691/1 "2023-07-10T11:00:14Z")

</div>

Hey node-red folks.

Do anybody know if it possible to restart the node-red service via an api call?  
After installing some node-modules in an explicit version via api call and a higher version is installed the node-red service have to be restarted to apply the changes. From the api I can reload the /flows. But this does not restart the hole service....

So, would be nice to restart node-red from an api call or an workaround without restarting NR.  
Thx.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [8 September 2023 11:01 UTC](https://discourse.nodered.org/t/restart-node-red-via-api/79691/2 "2023-09-08T11:01:02Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
