/faceset/v2/delete_face
1.API Specification
2.Request Params
3.Response Params
4.Error Codes
5.Sample
1.API Specification
This API is used to delete a specified face from a face set.
Request Method
POST
Request URL
https://cloudapi.peru.accuauth.com/faceset/v2/delete_face
Debugging Tool
2.Request Params
2.1 Request Header
Parameter | Type | Required | Description |
---|---|---|---|
X-DF-API-ID | string | Yes | For API credentials,Please visit API Request |
X-DF-API-SECRET | string | Yes | For API credentials,Please visit API Request |
2.2 Request Body
Fields | Type | Description | |
---|---|---|---|
required | name | string | Name of face set |
required | face_id | int | The face ID to delete |
3.Response Params
Fields | Type | Description |
---|---|---|
request_id | string | Unique id of each request |
status | string | Response status. OK means "request success", other means "request failure",see Error Codes |
Reponse Syntax:
{
"request_id": "TID8bf47ab6eda64476973cc5f5b6ebf57e",
"status": "OK"
}
4.Error Codes
Code | Status Field |
Description |
---|---|---|
400 |
INVALID_ARGUMENT | Request parameter is invalid |
400 |
DOWNLOAD_ERROR | Image download failed |
401 |
UNAUTHORIZED | Anauthorized or access is denied |
401 |
KEY_EXPIRED | Your API ID has expired |
403 |
NO_PERMISSION | You are not authorized to use this API |
403 |
OUT_OF_QUOTA | API calls quota exceeded |
403 |
RATE_LIMIT_EXCEEDED | API request frequency exceeds the limit |
404 |
NOT_FOUND | Requested API cannot be found |
500 |
INTERNAL_ERROR | Internal server error |
Reponse Syntax:
{
"status": "INVALID_ARGUMENT",
"reason": "db not exist",
"request_id": "TID8bf47ab6eda64476973cc5f5b6ebf57e"
}