I got with rfkill list all:
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
so the ID is “0” for BT and “1” for wifi.
and to block/unblock -AFAIK- you need to have “sudo” in front of the rfkill command:
sudo rfkill block 1
or
sudo rfkill unblock 1