Cancelling Image Sharing

Last updated: 2024-05-15 15:25:33

Scenario

This document guides users on how to unshare custom images. Users can terminate the sharing status of an image with others at any time, deciding not to share it with a specific user anymore. This operation will not affect instances created by other users using the shared image, but they will no longer be able to view or use the image to create more instances.

Instructions

Cancel Sharing via Console
Cancel Sharing via API
1. Log in to the CVM console and select Image on the left sidebar.
2. Select the Custom Images tab to enter the custom image management page.
3. In the custom image list, select the custom image you want to unshare, and click More > Cancel Sharing, as shown in the figure below:


4. On the new page, select the unique ID of the target account you want to unshare with, and click Cancel Sharing.
5. In the pop-up prompt, click Confirm to complete the unsharing of the image.
Users can unshare images using the ModifyImageSharePermission API. For more information, refer to Modify Image Share Permission.