https://api.sciener.com/v3/face/rename
Modify the face name via this API
POST, ContentType:application/x-www-form-urlencoded
xxxxxxxxxxcurl --location -g --request POST 'https://api.sciener.com/v3/face/rename' \--data-urlencode 'clientId=4773aa036f7f49c68d876bb4be85c80c' \--data-urlencode 'accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f' \--data-urlencode 'lockId=163377' \--data-urlencode 'faceId=124242' \--data-urlencode 'name=face' \--data-urlencode 'date=1625025703000'| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | The app_id which is assigned by system when you create an application |
| accessToken | String | Y | Access token |
| lockId | Int | Y | Lock ID |
| faceId | Int | Y | Face ID,generated from Add face API |
| name | String | Y | New face name |
| date | Long | Y | Current time (timestamp in millisecond) |
| Parameter | Type | Description |
|---|---|---|
| errcode | Int | Error code |
| errmsg | String | Error message |
xxxxxxxxxx{"errcode": 0,"errmsg": "none error message"}S