Page History
General request format:
POST http://IP-address:port/firserver/DeletePersons
Request parameters:
Parameter | Required | Parameter description |
---|---|---|
server_id | Yes | ID of the Face Recognition Server in Face Intellect |
id | Yes | Person ID in GUID format * all * - to remove all faces from the reference faces database |
Request example:
...
POST http://localhost127.0.0.1:10000/firserver/DeletePersons
JSON parameters:
Code Block |
---|
{ "server_id": "1", "id": [ "4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f" ] } |
...
Code Block |
---|
{ "server_id |
...
": "2",
"id": [
"*all*"
]
} |
Request headlines:
Headline | Headline description |
---|---|
Allow | Returns the HTTP method used in request |
Content-Length | Shows the size of characters in bytes, received in the request |
Content-Type | Returns the type of received request |
Server | Specifies the server from which the request comes |
Access-Control-Request-Method | Returns the HTTP method that can be used in the request |
Access-Control-Origin | Indicates if the code that sends the request from this source can access the server response |
Date | Shows the time of the request |
Response example
...
:
Code Block |
---|
{
"Description": "",
"Result": "4c6ecb1d-2a37-e711-9e4b-9c5c8e763a8f ",
"Status": "SUCCESS"
}
|
The request for clearing the reference face database
POST http://127.0.0.1:10000/firserver/DeletePersons
JSON parameters:
Response parameters:
Parameter | Parameter description |
---|---|
Description | Request description |
Result | The value of the id parameter in the request |
Status | Completed request status: SUCCESS - successful, if error - see List of possible errors of the Face Recognition Server |
...
language | xml |
---|
...
Overview
Content Tools