ConfD User Community

Conditional display for Restconf

Hi,

In the Confd user guide it is mentioned that a leaf can hidden using tailf:display-when for example “discriminated union”

I see display-when hides from only CLI, but not from RESTCONF.

Is there a way to hide from RESTCONF also?

Could you please suggest an alternative to hide displaying from RESTCONF when a condition is met.

~Karthik