---
title: "How to Enable NSX Management Access for a Hosted Private Cloud User via APIs"
description: "When a new user is added to the Hosted Private Cloud environment with administrator rights (read/write access to all datacenters), NSX management access is not"
url: https://docs.us.ovhcloud.com/en/hosted-private-cloud/vmware/enable-nsx-management-access-hosted-private-cloud-user-via-apis
lang: en
---
> For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt.

# How to Enable NSX Management Access for a Hosted Private Cloud User via APIs

When a new user is added to the Hosted Private Cloud environment with administrator rights (read/write access to all datacenters), NSX management access is not enabled by default, as shown below.

**This guide will show you how to use the API call to enable NSX management access.**

To check the status of NSX management access for your user(s), log in to [OVHcloud Control Panel](https://manager.us.ovhcloud.com/).

1. Select `Hosted Private Cloud`.
2. Click `VMware` and select your environment.
3. Click `Users`.
4. Check the status for each user in the **NSX Interface** column.

 

## Instructions

To execute the API call, log in to [OVHcloud API](https://api.us.ovhcloud.com/)
 using your OVHcloud Control Panel credentials. Open [/dedicatedCloud](https://api.us.ovhcloud.com/console/#/dedicatedCloud)
 and select

[GET /dedicatedCloud](https://api.us.ovhcloud.com/console/?section=/dedicatedCloud&branch=v1#get-/dedicatedCloud)

. Click the `Execute`
 button.

 

Copy the relevant environment from the response. An example is shown below.

 

Scroll down and click on

[GET /dedicatedCloud/{serviceName}/user](https://api.us.ovhcloud.com/console/?section=/dedicatedCloud&branch=v1#get-/dedicatedCloud/-serviceName-/user)

.
- Enter the environment name from the previous step into the **serviceName** field.
- Enter the **name** of the user (i.e., "admin") whose ID number you need.
- Click on `Execute` button.
- Copy the 5-digit user ID from the result.

 

Select

[POST /dedicatedCloud/{serviceName}/user/{userId}/changeProperties](https://api.us.ovhcloud.com/console/?section=/dedicatedCloud&branch=v1#post-/dedicatedCloud/-serviceName-/user/-userId-/changeProperties)

and you can see that the **serviceName**
 is already mentioned.
1. Enter the 5-digit user ID in the **userId** field.
2. Select the rights `checkboxes` for **canManageIpFailOvers**, **canManageNetwork**, and **nsxRight**.
3. Click on the `Execute` button.

 

Wait for some time and you can see that the NSX management access has been granted to the user within the [OVHcloud Control Panel](https://manager.us.ovhcloud.com/), as shown below.

 

The user can now log in to the NSX-T environment using the following credentials.

- **Username:** \<username>@pcc-XXX-XXX-XX-XX.ovh.us
- **Password:** \<same password used while creating the user>
- **URL:** [https://nsxt.pcc-XXX-XXX-XX-XX.ovh.us](https://nsxt.pcc-XXX-XXX-XX-XX.ovh.us)

 

## Go further

Browse all the [VMware on OVHcloud guides](https://docs.us.ovhcloud.com/en/hosted-private-cloud/vmware/landing-page-vmware.md).

Browse the rest of the [OVHcloud US documentation](https://docs.us.ovhcloud.com/en/index.md) for guides on our other products and services.

Learn more about [VMware on OVHcloud](https://us.ovhcloud.com/hosted-private-cloud/vmware/) on the OVHcloud US website.
