Previous page Rename a class  Delete the class Next page

On the page:


General info

Method

GET /IP address:port/<api_ver>/class/clear

DescriptionThe request is used to delete all images in a certain class

Sample request

GET http://localhost:5000/v1.3/class/clear?task_id=58e6486f44ec5b9cfa59d49011743739e4c37b9b6ecd90cd795f1307ca83fbf2&class_name=Bus

where:

ParameterDescription
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

Sample response

{ "message": "Done" }

Response in case of error:

{ "error": "error description" }


  • No labels