Skip to main content

POST /update_face_gallery

Updates fields of a non-default gallery. Currently supported update field is name.

Endpoint

POST https://api-eu.valossa.com/training/1.0/update_face_gallery

Request Body

FieldTypeRequiredDescription
api_keystringYesFaces-enabled API key
gallery.idstringYesGallery UUID
gallery.updates.namestringYesNew gallery name (max 1024 chars)

Example

curl -H "Content-Type: application/json" \
-X POST \
-d '{"api_key":"YOUR_API_KEY","gallery":{"id":"468a2b70-3b55-46f8-b209-8ad2fcabd5c8","updates":{"name":"My Extra-Special Faces"}}}' \
https://api-eu.valossa.com/training/1.0/update_face_gallery

Notes

  • Default gallery cannot be updated with this endpoint.