Forum Discussion
Michael_Jenkins
Cirrostratus
Jan 20, 2015iControlREST - Update virtual access profile
I've got a bunch of virtuals set up that reference the same Access Profile. Instead of having to go through one by one and change the profile to a different one, I'd like to try to script it with iCo...
Michael_Jenkins
Cirrostratus
Jan 22, 2015Found a way to do it. I take the profileReference object array (had to use the expandSubcollections=true query param on the GET) and get the kind and name and update the one I want to update, then use a PUT on the virtual, wrapping the array in {"profiles": ARRRAY_HERE}.
Just thought I'd share. I may try to update this answer with the code itself.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects