# Using api to insert general config nodes

**URL:** <https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917>\
**Category:** General\
**Created:** [25 January 2024 17:37 UTC](https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917 "2024-01-25T17:37:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![msmthng](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/msmthng/32/87616_2.png) [@msmthng](https://discourse.nodered.org/u/msmthng)\
**Post date:** [25 January 2024 17:37 UTC](https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917/1 "2024-01-25T17:37:12Z")

</div>

is there a way to insert config nodes in a way that they appear within the all nodes section?

if i use the configs attribute on flows, config nodes will be stored with the flow and deleted if the flow gets deleted.

thx for help

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 January 2024 17:38 UTC](https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917/2 "2024-01-25T17:38:29Z")

</div>

@msmthng they are exposed on the flow with an id of `global` - ie `GET /flow/global`

---

<div class="post-metadata">

**Author:** ![msmthng](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/msmthng/32/87616_2.png) [@msmthng](https://discourse.nodered.org/u/msmthng)\
**Post date:** [25 January 2024 18:02 UTC](https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917/3 "2024-01-25T18:02:58Z")

</div>

> [@knolleary](#):
>
> /flow/global

@knolleary thanks!!!

---

<div class="post-metadata">

**Author:** ![msmthng](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/msmthng/32/87616_2.png) [@msmthng](https://discourse.nodered.org/u/msmthng)\
**Post date:** [25 January 2024 18:09 UTC](https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917/4 "2024-01-25T18:09:03Z")

</div>

is there a way to make a delta update or all the config nodes needs to be added to the "config" property of the global flow?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [25 January 2024 18:32 UTC](https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917/5 "2024-01-25T18:32:09Z")

</div>

No way to apply a delta... Has to be the full set.

The whole /flow API could do with some love to make it easier to work with. Just not had a huge amount of demand in it.

---

<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:** [24 April 2024 18:32 UTC](https://discourse.nodered.org/t/using-api-to-insert-general-config-nodes/84917/6 "2024-04-24T18:32:12Z")

</div>

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