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
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
Best answer by Damian Andre
Hi
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:
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>'
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.