Forum Discussion
Christopher_Wo2
Feb 27, 2015Altocumulus
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...
- Feb 27, 2015
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" }
Christopher_Wo2
Feb 27, 2015Altocumulus
That was it, thank you. The same section is in the documentation for the 11.5 api. (I was searching for "save /sys config" and "sys config" and other strings, I'm a bit unfamiliar with tmsh.)
Now:
- url:
- method: POST
- payload: {"command":"save"}
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