Method | DELETE /IP address:port/<api_ver>/images |
Description | The request is used to remove images from a specific class. The request can specify one or more IDs of images to be removed. If the image is not found or cannot be removed, the Server will return an error message. |
DELETE http://localhost:5000/v1.3/images { "task_id": "6407bfd7144f37e141b786e2acf4faf2822cc48f296f5047e58c9e536874f4ec", "class_name": "Cars", "image_ids": "car1.jpeg,car2.jpeg,car3.jpeg" }
where:
Parameter | Description |
---|---|
task_id | A unique identifier of the task (uid), to which the class belongs. It can be obtained using a task list query (see Get the list of tasks) |
class_name | The name of the class from which images should be removed |
image_ids | The IDs of the images to remove. This can be a single ID or a comma-separated list of IDs |
{ "message":"Done", "rejected_ids": {} }
{ "message":"Completed with errors", "rejected_ids": { "image1.jpeg": "Image not found." } }
{ "error": "error description" }