企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
Face List - Delete a Face from a Face List 提供persisitedFaceId和一个faceListId从一个face list中删除一个存在的face 可以在不同的facelist同时进行新增或者删除faces,如果在同一facelist则按顺序执行。 Http Method `DELETE ` Request URL `https://api.cognitive.azure.cn/face/v1.0/facelists/{faceListId}/persistedFaces/{persistedFaceId} ` | 参数 |类型 |描述 | | --- | --- | --- | | faceListId | string | 存在的face list中的faceListId,字符串支持:小写字母,数字,‘—’,‘_’,字符串最大长度是64 | | persistedFaceId | string | 存在的某个面部的persistedFaceId字符串支持:小写字母,数字,‘—’,‘_’,字符串最大长度是64 | Request headers | 请求头 |类型 |描述 | | --- | --- | --- | | Ocp-Apim-Subscription-Key | string | Subscription key which provides access to this API. Found in your Cognitive Services accounts. | Request body Response 200 请求成功返回空 Response 401 | Error Code | Error Message Description | | --- | --- | | Unspecified | 无效的subscription Key 或user/plan 被冻结 | ~~~ { "error":{ "code": "Unspecified", "message": "Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key." } } ~~~ Response 403 ~~~ { "error":{ "statusCode": 403, "message": "Out of call volume quota. Quota will be replenished in 2.12 days." } } ~~~ Response 404 | Error Code |Error Message Description | | --- | --- | | FaceListNotFound | Face list未定义 | | FaceListNotFound | 无效的Face list ID,合法的字符串包括小写字母,数字,‘—’,‘_’,字符串最大长度是64 | | PersistedFaceNotFound | 未定义的Persisted face | | PersistedFaceNotFound | 无效的Persisted face ID | ~~~ { "error":{ "code":"FaceListNotFound", "message":"Face list 'sample_list' is not found." } } ~~~ Response 409 ~~~ { "error":{ "code": ConcurrentOperationConflict, "message": "There is a conflict operation on resource 'sample_group', please try later." } } ~~~ Response 429 ~~~ { "error":{ "statusCode": 429, "message": "Rate limit is exceeded. Try again in 26 seconds." } } ~~~