Skip to main content

Delete classification train images

POST 

https://demo.frigate.video/api/classification/:name/train/delete

Deletes specific train images for a given classification model. The image IDs must belong to the specified train folder. Returns a success message or an error if the name is invalid.

Request​

Path Parameters

    name Namerequired

Body

    objectobject

Responses​

Successful Response

Schema
    successSuccess (boolean)required
    messageMessage (string)required
import http.client
import json

conn = http.client.HTTPSConnection("demo.frigate.video")
payload = json.dumps({})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
conn.request("POST", "/api/classification/:name/train/delete", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
Request Collapse all
Base URL
https://demo.frigate.video/api
Parameters
— pathrequired
Body
{}
ResponseClear

Click the Send API Request button above and see the response here!