1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/iot/devices/delete

75 lines
2.4 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
NAME
gcloud iot devices delete - delete a device
SYNOPSIS
gcloud iot devices delete (DEVICE : --region=REGION --registry=REGISTRY)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2023-09-07 10:42:28 +00:00
(DEPRECATED) This command is deprecated. Google Cloud IoT Core has been
retired.
(DEPRECATED) Delete a device.
This command is deprecated. Google Cloud IoT Core has been retired.
2022-03-01 04:29:52 +00:00
EXAMPLES
To delete a device from device registry 'my-registry', run:
$ gcloud iot devices delete my-device --region=us-central1 \
--registry=my-registry
POSITIONAL ARGUMENTS
Device resource - The device to delete. The arguments in this group can be
used to specify the attributes of this resource. (NOTE) Some attributes
2023-05-04 10:43:54 +00:00
are not given arguments in this group but can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ provide the argument device on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
DEVICE
2023-05-04 10:43:54 +00:00
ID of the device or fully qualified identifier for the device.
To set the device attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument device on the command line.
2022-08-10 08:48:58 +00:00
This positional argument must be specified if any of the other
arguments in this group are specified.
2022-03-01 04:29:52 +00:00
--region=REGION
2023-05-04 10:43:54 +00:00
The Cloud region for the device.
To set the region attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument device on the command line with a fully
specified name;
▸ provide the argument --region on the command line.
--registry=REGISTRY
2023-05-04 10:43:54 +00:00
The device registry for the device.
To set the registry attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument device on the command line with a fully
specified name;
▸ provide the argument --registry on the command line.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha iot devices delete
$ gcloud beta iot devices delete