# Updating tenant node version in management API

**URL:** <https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232>\
**Category:** Get Help\
**Tags:** node8, node, tenant-management, tenant, management-api\
**Created:** [October 28, 2021, 8:18am UTC](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232 "2021-10-28T08:18:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hpsmcgregor](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hpsmcgregor/32/32631_2.png) [@hpsmcgregor](https://community.auth0.com/u/hpsmcgregor)\
**Post date:** [October 28, 2021, 8:18am UTC](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232/1 "2021-10-28T08:18:54Z")

</div>

I’m trying to update the node version of my tenants using the management api v2.

I can see in the settings section in the UI there is drop down to change between node 8 and 12, however our infrastructure is managed in code, and so I wish to be able to make this change through the API so I can roll it out across different environments as required.

I can’t seem to see how to do this in API docs, am I missing something?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 28, 2021, 3:32pm UTC](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232/3 "2021-10-28T15:32:47Z")

</div>

Hi @hpsmcgregor,

Welcome to the Auth0 Community!

I understand that you’d like to use the Management API to make changes to your Tenant Settings, specifically with changing the Node version from 8 to 12.

To do so, I recommend that you use the [PATCH](https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings)[/api/v2/tenants/settings](https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings) endpoint with the following body:

```auto
{
  "sandbox_version": "12"
}

```

After doing so, your Tenant will be using Node 12 for the extensibility environment.

Please let me know if you have any further questions. I’d be happy to help.

Thank you.

---

<div class="post-metadata">

**Author:** ![hpsmcgregor](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/hpsmcgregor/32/32631_2.png) [@hpsmcgregor](https://community.auth0.com/u/hpsmcgregor)\
**Post date:** [October 29, 2021, 6:52am UTC](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232/4 "2021-10-29T06:52:21Z")

</div>

ah amazing, thanks very much!

One follow up question: I am also looking to move to Actions and so makes sense to run these on Node 16.

Given it is not an option in the UI drop down to update the tenant to Node 16 could you clarify for me if it is supported to set the sandbox\_version to 16? Or do I have to set it to 12 and then have each action target 16 with the following body in the Post Action request:

```auto
{
"runtime": "node16"
}

```

Thanks again for the help!

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 29, 2021, 4:41pm UTC](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232/5 "2021-10-29T16:41:59Z")

</div>

Hi @hpsmcgregor,

Thank you for your response.

It is currently not possible to set the sandbox\_version to 16.

Therefore, as you hinted, you should set the sandbox\_version to Node 12 and then write your Actions using the Node 16 Runtime.

Please let me know if there’s anything else I can do to help.

Thank you.

---

<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:** [November 13, 2021, 4:42pm UTC](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232/6 "2021-11-13T16:42:22Z")

</div>

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