Solved

Auto Detect VM Owner

  • 28 March 2023
  • 2 replies
  • 142 views

Userlevel 1
Badge +6

Hello,

Is there a way to change this sub-client attribute via REST API - ‘Auto Detect VM Owner’ ?
We haven’t found and supportive documentation for it.

Thanks

icon

Best answer by Damian Andre 5 April 2023, 08:26

View original

2 replies

Userlevel 7
Badge +23

Hi @TNO,

Here is the details on this feature: https://documentation.commvault.com/2022e/essential/114157_vm_owner_identification_for_vmware_or_vmware_cloud_director_01.html

 

You can manually assign owners in the UI via this method:

https://documentation.commvault.com/2022e/expert/8214_assigning_permissions_to_owners_at_commcell_level.html

 

I think this is the correct API from https://api.commvault.com/

http://WebConsoleHostName/webconsole/api/Security

curl --location 'http://WebConsoleHostName/webconsole/api/Security' \
--header 'Authtoken: QSDK token would be auto set after POST Login is called.' \
--header 'Accept: application/json' \
--header 'Content-Type: application/xml' \
--data '<App_UpdateSecurityAssociationRequest>
<entityAssociated>
<entity clientId="5" _type_="3" />
</entityAssociated>
<securityAssociations associationsOperationType="1">
<associations>
<userOrGroup userId="0" _type_="13" userName="testadmin" />
<properties>
<role _type_="120" roleId="20" roleName="VM End User" />
</properties>
</associations>
<ownerAssociations ownersOperationType="1">
<categoryPermission categoriesPermissionOperationType="1" />
</ownerAssociations>
</securityAssociations>
</App_UpdateSecurityAssociationRequest>'

 

Userlevel 1
Badge +6

Hello,

 

Raising this topic again,

Is there any way (API, Command line) to modify the setting below ,

 

Thanks

 

Reply