# How to update configuration object value in rules

**URL:** <https://community.auth0.com/t/how-to-update-configuration-object-value-in-rules/37005>\
**Category:** Get Help\
**Tags:** rules\
**Created:** [January 29, 2020, 10:07am UTC](https://community.auth0.com/t/how-to-update-configuration-object-value-in-rules/37005 "2020-01-29T10:07:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rashid779939](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rashid779939/32/27027_2.png) [@rashid779939](https://community.auth0.com/u/rashid779939)\
**Post date:** [January 29, 2020, 10:07am UTC](https://community.auth0.com/t/how-to-update-configuration-object-value-in-rules/37005/1 "2020-01-29T10:07:09Z")

</div>

As we can store key/value pair data in setting and can access these data object in rules using configuration.Id. I want to know can we change value of this object in rules as per needed. S onet time i will access that object i will have updated value not the old one.

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [January 29, 2020, 3:05pm UTC](https://community.auth0.com/t/how-to-update-configuration-object-value-in-rules/37005/2 "2020-01-29T15:05:36Z")

</div>

Hi rashid,

Take a look at our deploy-cli tool ([Deploy CLI Tool](https://auth0.com/docs/extensions/deploy-cli))

This will deploy all configuration, including rules data.

John

---

<div class="post-metadata">

**Author:** ![rashid779939](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rashid779939/32/27027_2.png) [@rashid779939](https://community.auth0.com/u/rashid779939)\
**Post date:** [January 30, 2020, 4:52am UTC](https://community.auth0.com/t/how-to-update-configuration-object-value-in-rules/37005/3 "2020-01-30T04:52:35Z")

</div>

I was talking about these fields. Can we change these fields value in rule? Actually my requirement is to get value from this fields update the value with increment of 1 and again save new value back in this fields.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/a/d/ad5d447aa01f77e2b26d3961993271f2f6d4f933.png)

---

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [January 30, 2020, 2:42pm UTC](https://community.auth0.com/t/how-to-update-configuration-object-value-in-rules/37005/4 "2020-01-30T14:42:11Z")

</div>

Try the app, user or client metadata instead of these fields

These fields are configuration fields and shouldn’t be changed by rules.

The metadata fields can be changed by rules:  
[https://auth0.com/docs/rules/guides/metadata](https://auth0.com/docs/rules/guides/metadata)

John

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 14, 2020, 2:42pm UTC](https://community.auth0.com/t/how-to-update-configuration-object-value-in-rules/37005/5 "2020-02-14T14:42:13Z")

</div>

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