Hello @Michal128
Thanks for the question, i was looking over the following API that might be able to help you but it seems the association section is not included:
https://api.commvault.com/docs/SP36/api/cv/Storage/update-storage-policy-copy-details/#update-storage-policy-copy-details
We do not have an API for every action in the Java console unlike the command center and plans.
I suspect this is missing from the API as this is not something we really support in the Command Center and plans.
Sorry i don't have an exact answer for you here.
Kind regards
Albert Williams
Hello @Albert Williams
Thanks for your checking. I created dedicated API request by qcommand and it is working. The code is in Powershell, but everything is working
.
If someone are interesting in the topic. Please contact me on email: michal.zebrowski.it@gmail.com
Regards,
Michal