Leaving an organization
If you are a Yandex account user, you can leave an organization on your own.
Note
This guide requires you to use the CLI if one or more of the following conditions are true:
- The Block users from viewing the list of organization members and their details option is enabled in the organization's settings.
- The
organization.denyUserListingaccess policy applies, which prohibits viewing the organization's user list.
To leave an organization:
-
If you are a member of several organizations, select the proper one.
-
Go to Yandex Identity Hub
. -
In the left-hand panel, select
Users and find your user account.Optionally, use the search bar or filter at the top of the page.
-
In the row with the user, click
and select Delete. -
In the window that opens, confirm that you would like to leave the organization.
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.
-
View the description of the CLI command for leaving an organization:
yc organization-manager organization leave --help -
To leave an organization, run this command by specifying the organization ID:
yc organization-manager organization leave <organization_ID>
Please note: You will lose access to all clouds and other resources of the organization. To avoid this, you can move the cloud to another organization. To do this, you need the resource-manager.clouds.owner role for the cloud being transferred and the organization-manager.organizations.owner role for the organization to transfer the cloud to.
To disable access to the clouds of the organization you are not going to leave, contact the appropriate cloud administrator.
If you have issues excluding a user from an organization, contact support