Deleting a desktop group
-
In the management console
, select the folder the desktop group is in. -
In the list of services, select Cloud Desktop.
-
Click
to the right of the desktop group you want to delete and 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 command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
-
View the description of the CLI command to delete a desktop group:
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
, for example,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.