General request format:

POST http://IP-address:port/firserver/DeletePersons

Request parameters:

ParameterRequiredParameter description
server_idYes

ID of the Face Recognition Server in the Face-Intellect software package

idYes

Person ID in GUID format

* all * - to remove all faces from the reference faces database

Request example:

POST http://127.0.0.1:10000/firserver/DeletePersons

{
 "server_id": "1",
 "id": [
 "4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f"
 ]
}


{
 "server_id": "2",
 "id": [
 "*all*"
 ]
}

Response example:

{
 "Description": "",
 "Result": "4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f",
 "Status": "SUCCESS"
}

Response parameters:

ParameterParameter description
DescriptionRequest description
ResultThe value of the id parameter in the request
StatusCompleted request status: SUCCESS - successful, if error - see List of possible errors of the Face Recognition Server