Deleting a desktop group
-
In the management console
, select the folder containing your desktop group. -
From the list of services, select 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 specified when creating the CLI profile is used by default. 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 the --folder-name
or --folder-id
parameter.
-
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 list
Result:
+----------------------+------------------+--------+---------------------+ | 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
ID
orNAME
, 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.