Deleting a registry
You can only delete an empty registry. Don't forget to delete devices from the registry before performing the operation.
To delete a registry:
- In the management console, select the folder to delete the registry from.
- Select Yandex IoT Core.
- To the right of the name of the registry to delete, click , and select Delete from the drop-down list.
- In the window that opens, click Delete.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
Delete the registry:
$ yc iot registry delete my-registry
Make sure the registry was deleted:
$ yc iot registry list +----+------+ | ID | NAME | +----+------+ +----+------+
With Terraform, you can quickly create a cloud infrastructure in Yandex.Cloud. The infrastructure components are identified through configuration files that specify the required cloud resources and their parameters.
Read more about Terraform in the documentation.
Registries created using Terraform can be deleted:
In the command line, go to the directory with the Terraform configuration file.
Delete resources using the command:
$ terraform destroy
Terraform deletes all the resources that you created in the current configuration, such as clusters, networks, subnets, and VMs.
Confirm the deletion of resources.