Forum Discussion

Antoine_Prevost's avatar
Antoine_Prevost
Icon for Nimbostratus rankNimbostratus
Dec 17, 2018

How to save a single user partition config with iControlREST ?

I want to save a single user partition with iControlREST, but do not find a way to do it (even with the options keyword).

I could do this, so far, with the tmsh CLI command :

save /sys config partitions { user_partition_name }

Does anyone know which would be the iControlREST equivalent ?

  • curl -sku : https:///mgmt/tm/sys/config \
      -H "Content-type: application/json" -X POST \
      -d '{"command":"save", "options":[ { "partitions":"{ TestFolder }" } ] }'
    

    Note that the value of the "options" field is an array (list).

    See also

    Using the save command
    (pp. 63-64) in "iControl REST User Guide Version 13.1".