Overview
This document guides you to delete custom images.
Notes
Before deleting, note the following:
- After you delete custom images, you cannot create instances using this image. However, this does not affect instances that have already been started.
- A shared image cannot be deleted. You must first unshare all images before deleting them. To unshare images, see Unshare Custom Image.
- Only custom images can be deleted. Public images and shared images cannot be deleted actively, and obtained images cannot be deleted either.
Directions
Delete via the Console
- Log in to the CVM Console.
- In the left sidebar, click Image and select the Custom Image tab to enter the custom image management page.
- Select the operation method for deleting a custom image based on actual needs.
- Delete a single image: Find the custom image you want to delete in the list and click More > Delete.
- Delete multiple images: Select all custom images to be deleted in the list and click Delete at the top.
- In the pop-up dialog Box, click OK.
If deletion cannot be complete, the reason will be prompted.
Delete via API
Users can use the DeleteImages API to share images. For details, see API Interface Documentation > Delete Image.