The operation to edit someone’s biometric data is done via the update method. The request body consists of a Person object, containing the CustomID of the person you want to update, and at least one item in the field Fingers or Face, which consists of an array of base64 strings representing the images of the fingerprints and face of the user, respectively. An example of how the body of this request would look like can be seen below:
In the header, you must insert the content type and your subscription key, replacing <API-KEY>, as shown in the example below:
Lastly, you must do the request, specifying it’s a PUT method, the URL https://api.biopassid.com/multibiometrics/update , the header, and the body, as in the example below, written in Python, but that can be seen in several other programming languages in our documentation:
After making the request, in case there is no errors, you will be returned a message that consists of a Person object, with the fields CustomID, which is the identifier for the user updated in the request, and BioPass ID, the identifier of the person in the system.
In case an error is returned, make sure your request was filled correctly, according to the examples. An error could be returned if there is not at least one fingerprint or face being given, or if the subscription key is not filled properly. If you receive the response code 200 (OK), this means your request was done successfully and you can proceed with the next ones. Below you can see the answer from the system for the request done in the example: