Josh_Becigneul_
Oct 27, 2014Nimbostratus
How to unset custom value on a resource?
Hi All,
Trying to work out how, via the REST API, I would unset a custom value on a resource, permitting the default profile's value to take effect.
Everything I've tried so far is not effective.
Set a custom value, in this case a cipher string:
f5unit.modify("/ltm/profile/client-ssl/~TEST~test1", {"ciphers": "!EXPORT:!DH:!MD5:!SSLv3:RSA+AES:RSA+3DES:!RSA+RC4:ECDHE+AES:ECDHE+3DES:ECDHE+RSA:@SPEED"})
Unset the value:
f5unit.modify("/ltm/profile/client-ssl/~TEST~test1", {"ciphers": None})
From the WebUI, this results in the "Cipher" custom checkbox being checked, but with no value.
How do i set a resource to inherit the default profile's value?
Thanks.