How can we execute command load sys config default using f5-sdk or icontrol rest?

How can we execute command ‘load sys config default’ using f5-sdk or icontrol rest?

Hi,

try this: Load BIG-IP® system configuration using the load command by making an iControl® REST request with the POST method and a JSON body

To replace the running configuration using the load command, make a POST request. In the JSON body,specify the command.

POST /mgmt/tm/sys/config

{
"command":"load",
"name": "default"
}

Using Curl:

curl -v -sk -u admin:admin https://localhost/mgmt/tm/sys/config -H 'Content-Type: application/json' -X POST -d '{"command":"load","name":"default"}'

Keep me in touch if it’s you waiting for…

For more info: https://devcentral.f5.com/DesktopModules/Downloads/API/downloadservice/DownloadFile/241?version=349

Regards