# Change name of a device service variable \[feature request\]

**URL:** <https://forums.balena.io/t/change-name-of-a-device-service-variable-feature-request/22098>\
**Category:** Product support\
**Created:** [July 24, 2019, 7:41am UTC](https://forums.balena.io/t/change-name-of-a-device-service-variable-feature-request/22098 "2019-07-24T07:41:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/janvda/32/1271_2.png) [@janvda](https://forums.balena.io/u/janvda)\
**Post date:** [July 24, 2019, 7:41am UTC](https://forums.balena.io/t/change-name-of-a-device-service-variable-feature-request/22098/1 "2019-07-24T07:41:12Z")

</div>

During development and testing, I have decided to rename a bunch of my container environment variables.

For testing: this also means that I need to delete the device service variable in my balena cloud dashboard and recreate a new device service variable with the new name.

So it would be nice if besides the value I could also change the name of the device service variable in the balena cloud dashboard.

---

<div class="post-metadata">

**Author:** ![telphan](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@telphan](https://forums.balena.io/u/telphan)\
**Post date:** [July 24, 2019, 8:12am UTC](https://forums.balena.io/t/change-name-of-a-device-service-variable-feature-request/22098/2 "2019-07-24T08:12:04Z")

</div>

Hi,  
Unfortunately this is not possible today I will ask around if we can provide this feature in the future. Meanwhile you can use `balena-cli` to achieve this: `balean-cli env rename <id> <value>` would do the trick.  
Kind regards,  
Theodor

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/janvda/32/1271_2.png) [@janvda](https://forums.balena.io/u/janvda)\
**Post date:** [July 24, 2019, 8:25am UTC](https://forums.balena.io/t/change-name-of-a-device-service-variable-feature-request/22098/4 "2019-07-24T08:25:50Z")

</div>

Thanks for the fast response.

According to the balena documentation ( [https://www.balena.io/docs/reference/cli/#env-rename-id-value](https://www.balena.io/docs/reference/cli/#env-rename-id-value)) it is not possible to use this command to change the name of a specific device service variable.

---

<div class="post-metadata">

**Author:** ![telphan](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@telphan](https://forums.balena.io/u/telphan)\
**Post date:** [July 24, 2019, 8:51am UTC](https://forums.balena.io/t/change-name-of-a-device-service-variable-feature-request/22098/5 "2019-07-24T08:51:27Z")

</div>

Right, yes that is unfortunately not supported today. Will try to see if there are plans to include this functionality soon.

---

<div class="post-metadata">

**Author:** ![CameronDiver](https://avatars.discourse-cdn.com/v4/letter/c/2acd7d/32.png) [@CameronDiver](https://forums.balena.io/u/CameronDiver)\
**Post date:** [July 24, 2019, 9:12am UTC](https://forums.balena.io/t/change-name-of-a-device-service-variable-feature-request/22098/7 "2019-07-24T09:12:49Z")

</div>

Hey, so the next few months of the CLI is going to be pretty interesting. We’re going to be replacing the underlying engine with [oclif](https://oclif.io/) and when doing that, overhaul both the commands used and the interface provided to call them. This command is also planned to be tackled with the same overhaul, but as of yet unfortunately, I cannot give you a solid time frame.
