Deleting a desktop
-
In the management console
, select the folder containing the desktop. -
In the list of services, select Cloud Desktop.
-
In the left-hand panel, select
Desktops. -
Click
to the right of the desktop you want to delete and select Delete.Tip
To delete multiple desktops, 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.
-
See the description of the CLI command for deleting a desktop:
yc desktops desktop delete --help
-
Get a list of desktops in the default folder:
yc desktops desktop list
Result:
+----------------------+------------------+--------+----------------------+---------------------+ | ID | NAME | STATUS | DESKTOP GROUP ID | CREATED (UTC-0) | +----------------------+------------------+--------+----------------------+---------------------+ | e3vmvhgbgac4******** | my-cloud-desktop | ACTIVE | e3v1rbln45tl******** | 2024-10-09 22:42:28 | | e3vio1bc5ppz******** | reserved-desktop | ACTIVE | e3v1rbln45tl******** | 2024-10-09 21:35:17 | +----------------------+------------------+--------+----------------------+---------------------+
-
Select the desktop
ID
orNAME
, e.g.,my-cloud-desktop
. -
Delete the desktop:
yc desktops desktop delete <desktop_name_or_ID>
Use the delete REST API method for the Desktop resource or the DesktopService/Delete gRPC API call.