Delete Custom Images

Last updated: 2020-04-20 18:33:17

    Scenario

    This document describes how to delete custom images.

    Notes

    Before deleting custom images, please note the following items:

    • After a custom image is deleted, it can no longer be used to start a new CVM instance, but will not affect instances that have already been started. If you want to delete all instances started from this image, see Reclaiming Instances or Terminate Instances.
    • A custom image that has been shared with others cannot be deleted. To delete it, you need to cancel image sharing first. For more information, see Cancel Image Sharing.
    • You can only delete the custom image, not common image or shared image.

    Directions

    Delete images through the console

    1. Log in to the CVM Console.
    2. On the left sidebar, click Images and select the Custom Image tab to enter the custom image management page.
    3. Select the method to delete custom images based on actual needs.
      • Deleting a single image: locate the custom image to be deleted in the image list and click More > Delete.
      • Deleting multiple images: select all custom images to be deleted in the image list and click Delete on the top.
    4. In the pop-up window, click OK.
      If the deletion fails, possible reasons will be prompted.

    Delete images through API

    You can use the DeleteImages API to delete images. For details, see Delete Images.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help