Forum Discussion
Abd_alhadi_Al-T
Apr 09, 2018Nimbostratus
F5 BIG IP update VIP using REST API cause code:400, message:0107028c:3
I am trying to call my F5 Big IP REST API to update some VIP configurations, for example I want to update the VIP description using this command:
curl -s -k --tlsv1.2 -u admin:password -H "Conte...
jaikumar_f5
Apr 09, 2018MVP
You have to use -d 'data' =
The JSON data to send. Note that you need to quote the entire json blob, and each "name":"value" pairs must be quoted. When you have nested quotes, make sure you escape (\) them.
Refer the cookbook if it helps.
So something like,
curl -sku admin -H "Content-Type: application/json" -X PATCH https:///mgmt/tm/ltm/virtual/ -d '{"description": "Hello World!"}'
- ZulqadarSep 28, 2023Nimbostratus
I tried the same thing with PATCH, I want to add IRules, it works but the issue is it overwrites the existing iRules on the virtual server. How can I go about that? Thank you
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