Add a face to a face list. The input face is specified as an image with a targetFace rectangle. It returns a persistedFaceId representing the added face, and persistedFaceId will not expire.
post/facelists/{faceListId}/persistedfaces
Path parameters
faceListIdstring required
Id referencing a particular face list.
Query parameters
userDatastring
User-specified data about the face for any purpose. The maximum length is 1KB.
targetFaceinteger[]
A face rectangle to specify the target face to be added to a person in the format of "targetFace=left,top,width,height". E.g. "targetFace=10,10,100,100". If there is more than one face in the image, targetFace is required to specify which face to add. No targetFace means there is only one face detected in the entire image.
Parameters
../../../Common/Parameters.json#/components/parameters/ImageUrl — unresolved $ref
Response
A successful call returns a new persistedFaceId.