For the complete documentation index, see llms.txt. This page is also available as Markdown.

/faces/{Id}

Deletes the specimen (face) with the same Id from the database. Each image is associated with a single specimen, so the associated image is also deleted: its mediaId ceases to exist (GET /assets/media/{mediaId} returns 400) and it cannot be reused to create another specimen; the image must be uploaded again.

delete
Autorizações
AuthorizationstringObrigatório

JWT signed with HS256 (shared secret auth_jwt_secret) and with a non-expired exp claim; if it includes nbf, it must be currently valid. Only applied if auth_enabled is true and auth_accept_authorization_header is true. The Bearer scheme is case-insensitive.

Parâmetros de rota
IdstringObrigatório

An identifier of a specimen (face) in the database.

Example: 6782225b-1793-4b68-a9de-8fdb3628c7e5
Respostas
200

The result of the deletion.

application/json
booleanOpcional

true if the specimen was deleted

Example: true
delete/faces/{Id}
DELETE /faces/{Id} HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
true

Atualizado