# Node Red restart from within the active flow

**URL:** <https://discourse.nodered.org/t/node-red-restart-from-within-the-active-flow/37397>\
**Category:** General\
**Created:** [12 December 2020 10:59 UTC](https://discourse.nodered.org/t/node-red-restart-from-within-the-active-flow/37397 "2020-12-12T10:59:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [12 December 2020 11:54 UTC](https://discourse.nodered.org/t/node-red-restart-from-within-the-active-flow/37397/3 "2020-12-12T11:54:49Z")

</div>

> [@bmoel](#):
>
> I would then like to flow to redeploy or restart if this criteria is meet and I just can't get me head around how to use the Admin API

There are several threads on this forum related to this. [This one](https://discourse.nodered.org/t/restart-flows-using-node-red-api/34632) uses the admin API to restart your flows via the API - import the very last flow titled "test flow:" under "Edit 2 Solution " in that link

---

_[View the full topic](https://discourse.nodered.org/t/node-red-restart-from-within-the-active-flow/37397)._
