Previous page Clear the class (delete all images from the class)  Images Next page

On the page:


General info

Method

DELETE /IP address:port/<api_ver>/class

DescriptionThe request is used to delete a certain class

Sample request

DELETE http://localhost:5000/v1.3/class
Content-Type: application/json
 
{
  "task_id": "6407bfd7144f37e141b786e2acf4faf2822cc48f296f5047e58c9e536874f4ec",
  "class_name": "Cars"
}

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