Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex IoT Core
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Sending messages
    • Subscribing a device or registry to receive messages
    • Viewing the connection log
    • Creating a trigger for a topic
    • Managing registries
      • Getting information about registries
      • Creating a registry
      • Updating a registry
      • Deleting a registry
    • Managing devices
      • Managing topic aliases
        • Creating an alias
        • Getting a list of aliases
        • Updating an alias
        • Deleting an alias
      • Getting information about devices
      • Creating a device
      • Updating a device
      • Deleting a device
    • Managing certificates
      • Create a certificate
      • Managing registry certificates
      • Managing device certificates
    • Managing passwords
      • Managing registry passwords
      • Managing device passwords
  • Concepts
    • Authorization
    • Relationship between service resources
    • MQTT broker connection parameters
    • Sending messages to an MQTT broker via gRPC
    • Topic
    • Backups
    • Quotas and limits
  • Use cases
    • All use cases
    • Working with Mosquitto
      • Sending messages
      • Subscribing a device or registry to receive messages
    • Working with Yandex IoT Core from an Android device in Java
    • Working with Yandex IoT Core in C#
    • Working with Yandex IoT Core in Java
    • Writing data from a device to Managed Service for PostgreSQL
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • DeviceDataService
      • DeviceService
      • RegistryDataService
      • RegistryService
      • OperationService
    • REST
      • Overview
      • Device
        • Overview
        • addCertificate
        • addPassword
        • create
        • delete
        • deleteCertificate
        • deletePassword
        • get
        • list
        • listCertificates
        • listOperations
        • listPasswords
        • update
      • DeviceData
        • Overview
        • publish
      • Registry
        • Overview
        • addCertificate
        • addPassword
        • create
        • delete
        • deleteCertificate
        • deletePassword
        • get
        • list
        • listCertificates
        • listDeviceTopicAliases
        • listOperations
        • listPasswords
        • update
      • RegistryData
        • Overview
        • publish
  • Questions and answers
  1. Step-by-step instructions
  2. Managing registries
  3. Deleting a registry

Deleting a registry

    Warning

    You can only delete an empty registry. Don't forget to delete devices from the registry before performing the operation.

    To access a registry, use its unique ID or name. For information about how to get the unique registry ID or name, see Getting information about registries.

    Management console
    CLI
    Terraform

    To delete a registry:

    1. In the management console, select the folder to delete the registry from.
    2. Select Yandex IoT Core.
    3. To the right of the name of the registry to delete, click , and select Delete from the drop-down list.
    4. In the window that opens, click Delete.

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

    1. Delete the registry:

      $ yc iot registry delete my-registry
      
    2. 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:

    1. In the command line, go to the directory with the Terraform configuration file.

    2. Delete resources using the command:

      $ terraform destroy
      

      Alert

      Terraform deletes all the resources that you created in the current configuration, such as clusters, networks, subnets, and VMs.

    3. Confirm the deletion of resources.

    Language
    Careers
    Privacy policy
    Terms of use
    © 2021 Yandex.Cloud LLC