Deleting a desktop group
-
In the management console
, select the folder containing your desktop group. -
Go to Cloud Desktop.
-
Click
next to the desktop group you want to delete, then select Delete.Tip
To delete multiple desktop groups, select them in the list and click Delete at the bottom of the screen.
-
Confirm the deletion.
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.
-
See the CLI command for the desktop group deletion:
yc desktops group delete --help -
Get a list of desktop groups in the default folder:
yc desktops group listResult:
+----------------------+------------------+--------+---------------------+ | ID | NAME | STATUS | CREATED (UTC-0) | +----------------------+------------------+--------+---------------------+ | e3v1rbln45tl******** | my-desktop-group | ACTIVE | 2024-10-09 20:12:00 | | e3v7ikg3d4ga******** | ubuntu-group | ACTIVE | 2024-10-09 19:34:10 | | e3v80f10pc01******** | kosmos-group | ACTIVE | 2024-10-09 18:58:17 | +----------------------+------------------+--------+---------------------+ -
Select the desktop group
IDorNAME, e.g.,my-desktop-group. -
Delete the desktop group:
yc desktops group delete <desktop_group_name_or_ID>
Use the delete REST API method for the DesktopGroup resource or the DesktopGroupService/Delete gRPC API call.