This topic describes how to call the DeleteImageLib operation to delete a specified image library.

Description

Operation: DeleteImageLib

You can call this operation to delete a specified image library.
Note Deleted image libraries cannot be restored. Proceed with caution.

Request parameters

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

The following table describes the parameters in the request body.
Parameter Type Required Description
Id Numeric Yes The primary key ID of the image library to delete.
Note Do not set this parameter to the code of the image library.

Response parameters

For more information about common response parameters that this operation returns, see Common response parameters.

Examples

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