Skip to main content

Rename Face

PUT 

https://demo.frigate.video/api/faces/:old_name/rename

Rename Face

Request​

Path Parameters

    old_name Old Namerequired

Bodyrequired

    new_nameNew Name (string)required

Responses​

Successful Response

Schema
import http.client
import json

conn = http.client.HTTPSConnection("demo.frigate.video")
payload = json.dumps({
"new_name": "string"
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
conn.request("PUT", "/api/faces/:old_name/rename", 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 required
{
  "new_name": "string"
}
ResponseClear

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