---
title: "Delete image"
sidebar_label: "Delete image"
sidebar_position: 7
description: "How to delete an image from the image storage or revoke access to the image in a project"
---

import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'
import {TabItemLabel} from '@selectel/docux/components'
import Formbricks from '@theme/MDXComponents/Formbricks'

# Delete image

[A custom image](/cloud-servers/images/about-images.mdx#own-images) can be:

* [deleted from image storage](#delete-image-from-storage) — the image will be fully deleted and you will no longer be charged for it;
* or [have its access revoked in a project](#disable-access-to-image), if access between projects was configured for the image.

## Delete image from storage \{#delete-image-from-storage}

:::danger

Once deleted, an image cannot be recovered. If [access between projects is configured](/cloud-servers/images/transfer-image.mdx#configure-access-to-image) for the image, it will be deleted in all projects.

:::

<Tabs queryString="delete-image-from-storage">
  <TabItem value="panel" default>
    <TabItemLabel>
      Control panel
    </TabItemLabel>

    1. In the [control panel](https://my.selectel.ru/vpc/default/images/), on the top menu, click **Products** and select **Cloud Servers**.
    2. Go to the **Images** section.
    3. If [access between projects is configured](/cloud-servers/images/transfer-image.mdx#configure-access-to-image) for the image, open the project menu (the name of the current project) and select the source project where the image was originally uploaded.
    4. In the <MoreVerticalIcon /> image menu, select **Delete image**.
    5. Enter the image name to confirm the deletion.
    6. Click **Delete**.
  </TabItem>

  <TabItem value="openstack">
    <TabItemLabel>
      OpenStack CLI
    </TabItemLabel>

    1. [Open OpenStack CLI](/cloud-servers/tools/openstack-cli/).
    2. Delete the image:

       ```bash
       openstack image delete <image>
       ```

       Specify `<image>` — the image ID or name. You can view the list using the `openstack image list --private`
  </TabItem>
</Tabs>

## Revoke access to an image in a project \{#disable-access-to-image}

If [cross-project access is configured](/cloud-servers/images/transfer-image.mdx#configure-access-to-image) for the image, you can disable access to it in the recipient project. After disabling, the image will be available in the source project and will not be deleted from the image storage. Image storage in the source project will continue to be billed according to the [Cloud Platform payment model](/cloud-servers/about/payment.mdx#payment-model).

1. In the [Control panel](https://my.selectel.ru/vpc/default/images/), on the top menu, click **Products** and select **Cloud Servers**.
2. Go to the **Images** section.
3. Open the project menu (the name of the current project) and select the recipient project for which access to the image was configured.
4. In the <MoreVerticalIcon /> image menu, select **Decline**.

<Formbricks />
