# OTA firmware update for devices added after deployment creation

**URL:** <https://hub.mender.io/t/ota-firmware-update-for-devices-added-after-deployment-creation/6602>\
**Category:** General Discussions\
**Tags:** deployment\
**Created:** [March 6, 2024, 5:00am UTC](https://hub.mender.io/t/ota-firmware-update-for-devices-added-after-deployment-creation/6602 "2024-03-06T05:00:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jni](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jni](https://hub.mender.io/u/jni)\
**Post date:** [March 6, 2024, 5:00am UTC](https://hub.mender.io/t/ota-firmware-update-for-devices-added-after-deployment-creation/6602/1 "2024-03-06T05:00:57Z")

</div>

Hi,

I use the `/api/management/v1/deployments/deployments` api to create deployments to devices. But i would like to rollout the firmware to all devices that will be added in the future as well. Is there a way this could be achieved?

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [March 6, 2024, 10:07am UTC](https://hub.mender.io/t/ota-firmware-update-for-devices-added-after-deployment-creation/6602/2 "2024-03-06T10:07:27Z")

</div>

Hi @jni,

This is directly possible by using a dynamic group with an indefinitely running deployment. Those features are available in the Enterprise plan.  
Otherwise, you need to automate it yourself, either by polling the device list or using device lifecycle webhooks and then creating deployments as needed.

Greets,  
Josef
