Forum Discussion
Masoud_pourshab
Nimbostratus
Jul 05, 2018Updating F5 VIP using requests
Hello all,
I am using the following code(only brief) to create VIP and pool. How can update an item in a VIP. For example, how can I change NAT from Autonat to None or how to change VIP IP address? E...
tatmotiv
Cirrostratus
Jul 05, 2018You must use PATCH instead of POST. See https://devcentral.f5.com/wiki/icontrolrest.icontrolrestuserguide_v1300_3.ashx for details:
Citation:
Modifying a resource with PATCH
Using the PATCH method, you can modify properties of a resource without affecting any other properties.
To modify an object in the BIG-IP® system configuration, specify the resource in the URI. Do not specify a collection in the URI.
PATCH https://192.168.25.42/mgmt/tm/pool/~Common~tcb-pool2
{"member": [{:name":"192.168.25.32:80", "description":"Tertiary web server"}] }
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
