Deletes one or more images from a specified image library.

Operation description

Operation: DeleteImageFromLib
Note You can call this operation to delete multiple images at a time. Deleted images cannot be restored. Proceed with caution.

You can call this operation to delete one or more images from a specified image library. For more information about how to construct an HTTP request, see Request structure. You can also select an existing HTTP request. For more information, see SDK overview.

Billing method: This operation is free of charge.

Request parameters

For more information about the common request parameters that must be included in all Content Moderation API requests, see Common parameters.

The following table describes the parameters in the request body.
Parameter Type Required Example Description
Ids List Yes [1,2] The IDs of the images.
ImageLibId String Yes 2147 The primary key ID of the image library.

Response parameters

For more information about common response parameters that are returned by this operation, see Common response parameters.

Examples

Sample requests
{
  "Id": [1,2],
  "ImageLibId": 2147
}
Sample success responses
{
  "requestId": "795D8871-4889-4C0F-A8B1-C7D2B990FF61",
  "code": 200
}