[Yandex Cloud documentation](../../../index.md) > [Yandex Cloud Desktop](../../index.md) > [Step-by-step guides](../index.md) > Desktops > Deleting a desktop

# Deleting a desktop

{% list tabs group=instructions %}

- Management console {#console}

  1. In the [management console](https://console.yandex.cloud), select the folder containing the desktop.
  1. Navigate to **Cloud Desktop**.
  1. In the left-hand panel, select ![image](../../../_assets/console-icons/display.svg) **Desktops**.
  1. Click ![image](../../../_assets/console-icons/ellipsis.svg) next to the desktop you want to delete, then select **Delete**.

      {% note tip %}

      To delete multiple desktops, select them in the list and click **Delete** at the bottom of the screen.

      {% endnote %}

  1. Confirm the deletion.

- Yandex Cloud CLI {#cli}

  If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../../cli/quickstart.md#install).

  The folder used by default is the one specified when [creating](../../../cli/operations/profile/profile-create.md) 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.

  1. See the description of the [CLI](../../../cli/index.md) command for deleting a [desktop](../../concepts/desktops-and-groups.md):

      ```bash
      yc desktops desktop delete --help
      ```

  1. Get a list of desktops in the default folder:

      ```bash
      yc desktops desktop list
      ```

      Result:

      ```bash
      +----------------------+------------------+--------+----------------------+---------------------+
      |          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 |
      +----------------------+------------------+--------+----------------------+---------------------+
      ```

  1. Select the desktop `ID` or `NAME`, e.g., `my-cloud-desktop`.
  1. Delete the desktop:

      ```bash
      yc desktops desktop delete <desktop_name_or_ID>
      ```

- API {#api}

  Use the [delete](../../api-ref/Desktop/delete.md) REST API method for the [Desktop](../../api-ref/Desktop/index.md) resource or the [DesktopService/Delete](../../api-ref/grpc/Desktop/delete.md) gRPC API call.

{% endlist %}