VMware Cloud Community
mayank_goyal
Enthusiast
Enthusiast
Jump to solution

Updating vRO Action script via REST?

Is there a way to update the action script via REST or through vRO Scripting APIs? I want to perform a bulk update on actions.



-
For more interesting content on Aria Automation, check my blog:
https://cloudblogger.co.in
Reply
0 Kudos
1 Solution

Accepted Solutions
mayank_goyal
Enthusiast
Enthusiast
Jump to solution

PUT /actions/{{action-id}} works well.



-
For more interesting content on Aria Automation, check my blog:
https://cloudblogger.co.in

View solution in original post

3 Replies
Flynch00
Enthusiast
Enthusiast
Jump to solution

Hello,

I haven't tried this in vRO 8, but it works great on vRO 7.6 (and should be OK in 8).

 

The curl command is :

 

curl --form "name=file" --form "file=@actionFileName"  -X POST -u "restUsername:restPassword" -k https://vroVmName:8281/vco/api/actions
mayank_goyal
Enthusiast
Enthusiast
Jump to solution

PUT /actions/{{action-id}} works well.



-
For more interesting content on Aria Automation, check my blog:
https://cloudblogger.co.in
mayank_goyal
Enthusiast
Enthusiast
Jump to solution

Thanks for reply. 

POST /actions seems to import an action to given category.

mayank_goyal_0-1679654471857.png

 



-
For more interesting content on Aria Automation, check my blog:
https://cloudblogger.co.in
Reply
0 Kudos