How do I remove a command?

I’ve tried removing “Plugs: Update”

in SETTINGS

shortcuts:
  - command: "Plugs: Update" 
    key: ""

in a space lua script

command.update {
  name = "Plugs: Update",
  key = nil,
  mac = nil,
}

Neither has worked. I need help!

try:

command.update {
    name = "Plugs: Update"  ,
    key = "",
    mac = "",
    hide = true
}

I first tried key = nil like you and like it is written in the documentation but that didn’t work.
Then tried with key = "" , this did the trick and removed the key binding. to also hide it from the command palet use hide = true

Source: Command

Works great, thanks!