Forum Discussion
unset a profile option with rest?
I know how to set an option in the ssl client profile to a non-default value using iControl REST, name it and provide an acceptable value:
{"name":"/Common/cw2","sslSignHash":"sha256"}
But what if I want to stop using a special per-profile value in this ssl client profile and use the default from the parent's value instead? The idea is to clean up a bunch of profiles and manage a parameter in the parent.
This gives me an error:
{"name":"/Common/cw2","sslSignHash":null}
{
"errorStack" : [],
"message" : "invalid property value \"ssl-sign-hash\":\"none\"",
"code" : 400
}I've tried with "disabled", 0, "default" and a stack of other things. No matter what, the gui shows that I'm overriding the parent.
The 11.5 tmsh reference just says that the default for the example parameter is "Any", but I can't find where it says how to remove an option from a profile.
Have any of you done this and would you mind sharing some hints?
2 Replies
- kunjan
Nimbostratus
There was a similar question. Still not exactly what needed.
https://devcentral.f5.com/questions/how-to-unset-custom-value-on-a-resource
- Christopher_Wo2
Altocumulus
That links here
https://devcentral.f5.com/questions/unsetting-an-attribute-on-tmsh-modify
and given that the rest api is built over tmsh it looks like the rest api does not support this functionality. Thank you for the link!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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