Forum Discussion
JulienDebbia_20
Nimbostratus
The solution:
curl -sk -u user:pwd -H "Content-Type: application/json" -X POST "https://ip/mgmt/tm/security/firewall/rule-list/~Common~ltm_vs_allow_http/rules" -d '{"name":"toto", "action":"accept", "place-before":"first"}'
JRahm
Jan 19, 2016Admin
obviously you'd want that to be more complete than just a name and accept, but that makes it easy in this space to understand the mechanics. Glad you found your own answer!