SSID deletion using UCI scripts

Hi Everyone,

I have successfully added SSID in openWRT using UCI scripts but i am unable to delete it. Do anyone know how we can delete SSID using UCI script?

Thanks in advance:)

Kind Regards,
Samriti Verma

uci delete wireless.@wifi-iface[-1]
uci commit wireless
wifi reload