Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Identity Hub
    • All guides
    • Subscribing a user to notifications
      • Associating a domain
      • Verifying a domain
      • Getting a list of domains
      • Getting domain information
      • Deleting a domain
    • Billing management in Yandex Identity Hub
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • Yandex Identity Hub Sync Agent release notes

In this article:

  • Deleting a domain from a user pool
  • Deleting a domain from a federation
  1. Step-by-step guides
  2. Managing domains
  3. Deleting a domain

Deleting a domain

Written by
Yandex Cloud
Updated at November 2, 2026
View as Markdown
  • Deleting a domain from a user pool
  • Deleting a domain from a federation

You cannot delete a domain if:

  • This domain is the default one.
  • The domain has active user associations, i.e., there are accounts in the user pool or federation that utilize email addresses with this domain.

Deleting a domain from a user poolDeleting a domain from a user pool

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.
  2. In the left-hand panel, click User pools and select the user pool.
  3. Under Domains, click next to the domain and select Delete.
  4. In the window that opens, confirm deleting the domain.

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

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id.

If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI command for deleting a domain from a user pool:

    yc organization-manager idp userpool domain delete --help
    
  2. Run this command:

    yc organization-manager idp userpool domain delete <pool_ID> <domain>
    

    For example, delete my-domain.ru from ek05kcb9vm2d********:

    yc organization-manager idp userpool domain delete ek05kcb9vm2d******** my-domain.ru
    

Use the Userpool.DeleteDomain REST API method for the Userpool resource or the UserpoolService/DeleteDomain gRPC API call.

Deleting a domain from a federationDeleting a domain from a federation

Cloud Center UI
CLI
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.
  2. In the left-hand panel, click Federations and select the target federation.
  3. Navigate to the Domains tab.
  4. In the domain section, click and select Delete.

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

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id.

If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. See the description of the CLI command for deleting a domain from a federation:

    yc organization-manager federation saml delete-domain --help
    
  2. Run this command:

    yc organization-manager federation saml delete-domain <federation_name_or_ID> \
      --domain <domain>
    

    Where --domain is your domain.

    For example, delete my-domain.ru from my-federation:

    yc organization-manager federation saml delete-domain my-federation \
      --domain my-domain.ru
    

Use the Federation.DeleteDomain REST API method for the Federation resource or the FederationService/DeleteDomain gRPC API call.

Was the article helpful?

Previous
Getting domain information
Next
Creating an app
© 2026 Direct Cursus Technology L.L.C.