Trouble setting static-key value to empty using the API

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.

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=""

Thanks for the help.

That did the trick.