# Restarting single flow does not work, restarts the whole instance

**URL:** <https://discourse.nodered.org/t/restarting-single-flow-does-not-work-restarts-the-whole-instance/79487>\
**Category:** Feature Requests\
**Tags:** http-request\
**Created:** [29 June 2023 13:56 UTC](https://discourse.nodered.org/t/restarting-single-flow-does-not-work-restarts-the-whole-instance/79487 "2023-06-29T13:56:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [1 July 2023 08:24 UTC](https://discourse.nodered.org/t/restarting-single-flow-does-not-work-restarts-the-whole-instance/79487/4 "2023-07-01T08:24:06Z")

</div>

You are sending:

```auto
msg.headers['Node-RED-Deployment-Type'] = "reload";

```

Documentation describes:

```auto
The Node-RED-Deployment-Type header is used to define what type of deployment is performed.

full - all existing nodes are stopped before the new configuration is started. This is the default behaviour if the header is not provided.
nodes - only nodes that have been modified are stopped before the new configuration is applied.
flows - only flows that contain modified nodes are stopped before the new configuration is applied.
reload - the flows are reloaded from storage and all nodes are restarted (since Node-RED 0.12.2)

```

[https://nodered.org/docs/api/admin/methods/post/flows/](https://nodered.org/docs/api/admin/methods/post/flows/)

---

_[View the full topic](https://discourse.nodered.org/t/restarting-single-flow-does-not-work-restarts-the-whole-instance/79487)._
