# Allow changes to variables to be batched and submitted all at once

**URL:** <https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411>\
**Category:** Feature Requests\
**Tags:** balenacloud, done\
**Created:** [January 18, 2023, 3:47pm UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411 "2023-01-18T15:47:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/balena/original/2X/6/60e5c11e1222480d38bea45d7ab9ea57bbe86d53.png) [@system](https://forums.balena.io/u/system)\
**Post date:** [January 18, 2023, 3:47pm UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411/1 "2023-01-18T15:47:22Z")

</div>

Currently, edits made to variables are applied one by one which causes multiple service restarts when only one may be necessary if everything was applied at the same time.

---

<div class="post-metadata">

**Author:** ![anonymizeduser](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anonymizeduser/32/10188_2.png) [@anonymizeduser](https://forums.balena.io/u/anonymizeduser)\
**Post date:** [June 1, 2023, 12:00pm UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411/2 "2023-06-01T12:00:04Z")

</div>

Are public API endpoints for bulk updates exposed yet? We’ve got some internal tooling designed to apply batches of variable endpoints and it would be great to be able to do that in a single query.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/balena/original/2X/6/60e5c11e1222480d38bea45d7ab9ea57bbe86d53.png) [@system](https://forums.balena.io/u/system)\
**Post date:** [June 7, 2023, 4:41pm UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411/3 "2023-06-07T16:41:07Z")

</div>

Matt: We have yet to work on and confirm functionality of API endpoints for bulk updates. We’re currently working on enabling batch changes on the Fleet and Device Configuration pages. The work on the API endpoints is the next step and we will update here as we make progress.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/balena/original/2X/6/60e5c11e1222480d38bea45d7ab9ea57bbe86d53.png) [@system](https://forums.balena.io/u/system)\
**Post date:** [June 19, 2023, 12:01pm UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411/4 "2023-06-19T12:01:19Z")

</div>

Matt: UPDATE: We are finalizing the changes indicated in step 2 above. Fleet and Device Configuration pages are planned to support batch submitting just like the Variables pages in dashboard version 20.0.0, which will be coming soon

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/balena/original/2X/6/60e5c11e1222480d38bea45d7ab9ea57bbe86d53.png) [@system](https://forums.balena.io/u/system)\
**Post date:** [June 26, 2023, 9:16pm UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411/5 "2023-06-26T21:16:27Z")

</div>

Matt: UPDATE: Version 20.0.0 of the dashboard is now live, adding support for batch submitting changes to fleet and device Configuration variables!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/balena/original/2X/6/60e5c11e1222480d38bea45d7ab9ea57bbe86d53.png) [@system](https://forums.balena.io/u/system)\
**Post date:** [September 10, 2024, 9:26am UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411/6 "2024-09-10T09:26:21Z")

</div>

Thank you everyone for voting for this feature. We have discussed this feature internally and have decided on a way to move forward with implementing it. The current plan (subject to change) is as follows:

1. COMPLETED as of dashboard version 19.0.0: Enable making multiple variable changes on the Fleet and Device Variables pages (adding, updating, deleting) and add an “Apply all” button. This will enable submitting many changes at once, however it will not yet enable sending all the changes in one transaction. This should already reduce the amount of restarts required as a start.
2. COMPLETED as of dashboard version 20.0.0: Update the Fleet and Device Configuration pages to support batch submitting just like the Variables pages in Step 1
3. FUTURE IMPROVEMENT Update the `Apply all` behavior to submit all the changes in one transaction. This should allow for there to be only 1 restart instead of multiple

---

<div class="post-metadata">

**Author:** ![Jazzagi](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@Jazzagi](https://forums.balena.io/u/Jazzagi)\
**Post date:** [February 3, 2025, 11:31am UTC](https://forums.balena.io/t/allow-changes-to-variables-to-be-batched-and-submitted-all-at-once/373411/7 "2025-02-03T11:31:20Z")

</div>

Closed on February 3, 2025, 11:31am UTC


