# How to change the name of already configured alarm using script?

**URL:** <https://forum.inductiveautomation.com/t/how-to-change-the-name-of-already-configured-alarm-using-script/78156>\
**Category:** General Discussion\
**Created:** [August 21, 2023, 2:07pm UTC](https://forum.inductiveautomation.com/t/how-to-change-the-name-of-already-configured-alarm-using-script/78156 "2023-08-21T14:07:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anamay\_Belekar](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Anamay\_Belekar](https://forum.inductiveautomation.com/u/Anamay_Belekar)\
**Post date:** [August 21, 2023, 2:07pm UTC](https://forum.inductiveautomation.com/t/how-to-change-the-name-of-already-configured-alarm-using-script/78156/1 "2023-08-21T14:07:24Z")

</div>

I am trying to change the name of already configured alarm in a tag using python script using 'system.tag.editAlarmConfig'. But every time I do it, it creates a separate alarm rather than editing the existing one  
Please suggest a way to edit name of existing alarm  
Thanks!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 21, 2023, 2:30pm UTC](https://forum.inductiveautomation.com/t/how-to-change-the-name-of-already-configured-alarm-using-script/78156/2 "2023-08-21T14:30:09Z")

</div>

Try using `system.tag.configure()` to complete replace the `.alarms` property of the tag.

---

<div class="post-metadata">

**Author:** ![Anamay\_Belekar](https://avatars.discourse-cdn.com/v4/letter/a/c4cdca/32.png) [@Anamay\_Belekar](https://forum.inductiveautomation.com/u/Anamay_Belekar)\
**Post date:** [August 22, 2023, 5:19am UTC](https://forum.inductiveautomation.com/t/how-to-change-the-name-of-already-configured-alarm-using-script/78156/3 "2023-08-22T05:19:54Z")

</div>

I am able to replace the alarm using 'overwrite' collision Policy, but this overwrites the entire tag and not only the alarms part.. Is there any way to only over write alarms part of the tag?
