Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Installing Stackland on Yandex BareMetal via PXE
    • Installing Stackland on Yandex Cloud VMs
    • Setting up external access to a pod in a cluster
    • Verifying signatures for custom images
    • All guides
        • Creating a ClickHouse® cluster
        • Updating cluster settings
        • Create a backup
        • Recovering a cluster
        • Deleting a cluster
        • Create database
        • Update database
        • Deleting a database
        • Creating a role
        • Changing a role
        • Deleting a role
        • Creating a user
        • Updating a user
        • Deleting a user
    • Projects
    • Resource model
    • Scaling a cluster
    • Licensing
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting

In this article:

  • Using the CLI
  • Using the management console
  1. Step-by-step guides
  2. Databases and analytics
  3. Managed Service for ClickHouse®
  4. Deleting a role

Deleting a role

Written by
Yandex Cloud
Updated at July 24, 2026
View in Markdown
  • Using the CLI
  • Using the management console

If you have a ClickHouse® role, you can delete it.

Removing a ClickhouseRole resource also deletes the role in ClickHouse®. For users the role was assigned to the link will become invalid. Update ClickhouseUser resources and remove the role resource name from spec.roles.

Using the CLIUsing the CLI

  1. Find the name of the role in the list of project roles: kubectl get clickhouserole -n <project_name>.
  2. Delete the role resource: kubectl delete clickhouserole <resource_name> -n <project_name>.

Using the management consoleUsing the management console

  1. If you have not opened a project yet, select one.
  2. In the left-hand menu, select ClickHouse® Clusters.
  3. Select a cluster.
  4. Navigate to the Roles tab.
  5. Choose the role.
  6. Click Delete.
  7. Confirm the deletion.

Was the article helpful?

Previous
Changing a role
Next
Creating a user
© 2026 Direct Cursus Technology L.L.C.