Deleting a device

    To access a device, use its ID or name. For information about how to get the ID or name of a device, see Getting information about a device.

    If you don't have the Yandex.Cloud command line interface yet, install it.

    1. Delete the device:

      $ yc iot device delete my-device
      
    2. Make sure the device was deleted:

      $ yc iot device list --registry-name my-registry
      +----+------+
      | ID | NAME |
      +----+------+
      +----+------+