Remove a device from an application via Balena CLI?

Is there any way to delete a device from an application via Balena CLI?

Thanks for the help.

Hi,

You should be able to remove the device using the command balena device rm <device_uuid>. Note this command asks for confirmation interactively. You can avoid this by passing the --yes option.

If you want to move the device to another application, you can use the command balena device move <device_uuid> --application <app_name>

Perfect, it works. Is there a way to issue a “blink LED for 15 second” command via cli?

Hi,

You can try balene device identity <UUID> command (https://www.balena.io/docs/reference/balena-cli/#device-identify-uuid), this will identify a device by making the ACT LED blink if possible.