what's REST for "save /sys config"?
I'm currently on 11.5, trying to do this in the REST interface to have a separate "write config files" step.
- tmsh save /sys config
https://support.f5.com/kb/en-us/solutions/public/14000/500/sol14564.html
I don't think I've quite grasped which method to use, or what constitutes the module or submodule or object of the REST call.
I've come this far:
- url:
- method: POST
- payload: {"save":{"/sys":"config"}}
However, this gives me a message of "Missing name" with a 400 return code. What bit is it referring to when it asks for the name? Any other hints?
I found this thing but it seems to be unrelated given that it's UCS:
Edit: fix the brackets around the url.
According to the The user guide for the iControl REST interface in BIG-IP, version 11.6.0 :
Under "Using the save command"
To save the running configuration using the save command, make a POST request. In the JSON body, specify the command.
POST /mgmt/tm/sys/config { "command":"save" }