This topic describes how to delete images. This operation deletes stored image features but does not release instance resources.
For more product details or technical support, click Online Consulting or contact us through our DingTalk group: 35035130.
Background information
Image Search provides four methods to delete images: calling the API, using an SDK (for small-scale, real-time deletion), performing batch operations (for large-scale, offline deletion), and using the Clear Images feature in the console (to delete all images from an instance at once).
Console
-
Log on to the Image Search console.Image Search console
-
Select the target service type and instance.
In the navigation pane on the left, under Search by image, click the target service type. In the instance list on the right, find the target instance in the Instance ID column.
-
In the upper-right corner of the page, click Clear Images.
-
In the verification dialog box, click Get Verification Code and enter the verification code.
-
Click OK.
NoteAfter you confirm, the instance status changes to Resetting. While the instance resets, you cannot perform other operations on it. When the process is complete, the status changes to Running, and you can resume using Image Search.
API
Call the API by sending HTTP or HTTPS requests. You must authenticate these requests with a signature and format the request body as specified. The default queries per second (QPS) for API deletions is 20. For more information, see Delete image.
SDKs
Image Search provides SDKs to simplify signature authentication and request formatting. Use this method for real-time deletion of a small number of images. The default QPS for SDK deletions is 20. For more information, see the Delete operation.
Batch operations
Use batch operations in the Image Search console to delete indexed images from an instance in bulk. This method is ideal for large-scale (millions of images) offline deletion tasks. For more information, see Batch operations.