Page 1 of 1

Trouble setting static-key value to empty using the API

Posted: Sun Sep 26, 2010 11:56 pm
by pdeline
When I ssh to my device, I can set one of the static-key values to empty (which is the default) using the following command:
/interface wireless security-profiles set <name> static-key-0=""
However, I am unable to do the same using the API. I have tried this:
/interface/wireless/security-profiles/set
=name=<name>
=static-key-3=""
The API acts as if it accepted the values but when I query them again, they have not changed.

Any suggestions on how to make this work would be appreciated.

Re: Trouble setting static-key value to empty using the API

Posted: Sat Oct 02, 2010 12:58 pm
by SurferTim
Don't know if you found the answer, but just in case you didn't...
/interface/wireless/security-profiles/set
=.id=<name>
=static-key-3=""

Re: Trouble setting static-key value to empty using the API

Posted: Mon Oct 25, 2010 4:14 am
by pdeline
Thanks for the help.

That did the trick.