Skip to main content
Solved

Auto Detect VM Owner


Forum|alt.badge.img+8
  • Byte
  • 34 replies

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 @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>'

 

View original
Did this answer your question?

2 replies

Damian Andre
Vaulter
Forum|alt.badge.img+23
  • Vaulter
  • 1290 replies
  • Answer
  • April 5, 2023

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>'

 


Forum|alt.badge.img+8
  • Author
  • Byte
  • 34 replies
  • April 1, 2024

Hello,

 

Raising this topic again,

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

 

Thanks

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings