Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML Services
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex IoT Core
    • All guides
    • Sending messages
    • Subscribing a device or registry to receive messages
    • Exporting messages to Data Streams
    • Viewing the connection log
      • Getting information about registries
      • Creating a registry
      • Updating a registry
      • Enabling and disabling a registry
      • Deleting a registry
    • Viewing operations with service resources
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • Disabling a registry
  • Enabling a registry
  1. Step-by-step guides
  2. Managing registries
  3. Enabling and disabling a registry

Enabling and disabling a registry

Written by
Yandex Cloud
Updated at June 9, 2025
  • Disabling a registry
  • Enabling a registry

You can disable or enable a registry. Once disabled, the registry gets the DISABLED status, after which the registry itself and all devices in it stop accepting inbound connections.

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

Disabling a registryDisabling a registry

CLI
API

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. Get a list of registries in the folder:

    yc iot registry list
    

    Result:

    +----------------------+-------------------+--------+
    |          ID          |       NAME        | STATUS |
    +----------------------+-------------------+--------+
    | arenou2oj4********** | my-registry       | ACTIVE |
    +----------------------+-------------------+--------+
    
  2. Disable a registry:

    yc iot registry disable <registry_name_or_ID>
    

    Result:

    id: are1dtqd94r7********
    folder_id: b1g681qpemb4********
    created_at: "2024-11-16T11:34:11.623Z"
    name: my-registry
    status: DISABLED
    log_options:
      folder_id: b1g681qpemb4********
    

To disable a registry, use the disable REST API method for the Registry resource or the RegistryService/Disable gRPC API call.

Enabling a registryEnabling a registry

CLI
API

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. Get a list of registries in the folder:

    yc iot registry list
    

    Result:

    +----------------------+-------------------+----------+
    |          ID          |       NAME        |  STATUS  |
    +----------------------+-------------------+----------+
    | arenou2oj4********** | my-registry       | DISABLED |
    +----------------------+-------------------+----------+
    
  2. Enable a registry:

    yc iot registry enable <registry_name_or_ID>
    

    Result:

    id: are1dtqd94r7********
    folder_id: b1g681qpemb4********
    created_at: "2024-11-16T11:34:11.623Z"
    name: my-registry
    status: ACTIVE
    log_options:
      folder_id: b1g681qpemb4********
    

To enable a registry, use the enable REST API method for the Registry resource or the RegistryService/Enable gRPC API call.

Was the article helpful?

Previous
Updating a registry
Next
Deleting a registry
© 2025 Direct Cursus Technology L.L.C.