CLI question re cap/capsman removal

I set up and experimented with capsman (wifi version), which is a whole different story, but decided to remove it.

I am also trying to learn how to use the CLI more and the web less, and am comparing to hAP ax2 setups, and have a minor difference and cannot figure out how to fix it. It makes no difference because both CAPsMAN and CAP are disabled, but there’s an OCD part of me that wants to make both of these gone, and I simply cannot see how.

In one there is this (on an export):

/interface wifi capsman set package-path="" require-peer-certificate=no upgrade-policy=none

On the other is this:

/interface wifi cap set certificate=none discovery-interfaces=none

They are both disabled (they don’t say that but they are), but how can I remove the line entirely from the config? So when I run a differences it doesn’t appear?

I feel like I’m just missing an obvious syntax, but won’t bore you with all the things that didn’t work. how can I just make these go away?

And yes – I know – it doesn’t matter if it’s there or not (disabled). But…

Try this:

/interface wifi capsman set !package-path !require-peer-certificate !upgrade-policy
/interface wifi cap set !certificate !discovery-interfaces

The CAP one worked fine, the CAPSMAN did not, it shows red on the exclamation mark. I tried each phrase separately and none of them would take.

I looked through the Command Line Interface document and did not see the exclamation mark discussed, does it mean “set to default”? I had tried “remove” vs “set”.

I realized I have two more I am trying to be rid of

/tool mac-server set allowed-interface-list=*2000011
/tool mac-server mac-winbox set allowed-interface-list=*2000011

I suspect these originated by me removing the entry for LAN and WAN interface list (as I didn’t think I was using it). When I go into the web configuration for both of these they show “all” which is still defined. I tried doign these

/tool mac-server set !allowed-interface-list
/tool mac-server mac-winbox set !allowed-interface-list

and neither would take (same error, red on the exclamation).

None of this is having any bad impact, I just am struggling to understand the CLI and hoped tracking this down would help.