Managing granular rights on vSphere objects
Objective
In addition to global datacenter rights, you can assign granular rights to users on specific objects in your Hosted Private Cloud vSphere inventory (for example, a VM or datastore). This guide explains how to add and remove these rights through the OVHcloud API.
Prerequisites
- A Hosted Private Cloud service with vSphere version 6.5 or higher
- Access to the OVHcloud API
- A user already created in your Hosted Private Cloud service
Instructions
Add rights to a vSphere object
-
Call the following API endpoint:
-
Fill in the request body with the object and user you want to grant access to.
You can choose whether or not to propagate the right to child objects, similar to vSphere native rights.
-
Confirm the request. A task of type
addUserObjectRightis created and applied on the vSphere object.
Remove rights from a vSphere object
-
Call the following API endpoint:
-
Fill in the fields with the
objectRightIdcorresponding to the right you want to remove. -
Confirm the request. A task of type
removeUserObjectRightis created and removes the user right from the vSphere object.
Viewing rights in the OVHcloud Control Panel
-
Open the OVHcloud Control Panel. Click
Hosted Private Cloudin the top bar, thenManaged VMware vSpherein the left menu, and select your PCC service. -
Go to the
Userstab. On the desired user row, open the…menu and clickView/Edit the rights for each DC.
-
On the Manage admin user rights by datacentre page, locate the datacenter row. Click the
…menu (orModify rights) to edit the rights.
-
In the Editing rights window, set the rights and confirm.

Rights reference
vSphere access — global user rights on vSphere.
| Right | Description |
|---|---|
| Provider | Reserved for OVHcloud admins |
| None | No access |
| Read-only | Read-only access |
| Read/Write | Read and write access |
Access to the VM Network — management rights over the public network section (“VM Network” in vSphere).
| Right | Description |
|---|---|
| Provider | Allows VMs to be configured on a public network |
| Operator | Allows VMs to be configured on a public network |
| None | No access |
| Read-only | Read access only |
Access to V(X)LANs / GENEVE — management rights over the private network section (VXLAN/GENEVE for Hosted Private Cloud, VLAN for SDDC).
| Right | Description |
|---|---|
| Provider | Allows VMs to be configured on a private network |
| Administrator | Allows port groups to be managed on the virtual switch (create, modify, delete). SDDC and Premier only |
| None | No access |
| Read-only | Read access only |
Host and storage management — when enabled, the user can add or delete hosts and storage via the OVHcloud plugin in the vSphere client.
Go further
If you need training or technical assistance to implement our solutions, please contact your sales representative or click this link to get a quote and request a personalised analysis of your project from our Professional Services team.
Join our community of users.