你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Large Person Group Person - Delete Face
通过指定的 largePersonGroupId、personId 和 persistedFaceId,删除大型人员组中的人脸。
向/从同一个人添加/删除人脸将按顺序处理。 向/从不同人员添加/删除人脸是并行处理的。
DELETE {Endpoint}/face/v1.0/largepersongroups/{largePersonGroupId}/persons/{personId}/persistedfaces/{persistedFaceId}
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
Endpoint
|
path | True |
string |
支持的认知服务终结点 (协议和主机名,例如: https://westus.api.cognitive.microsoft.com) 。 |
large
|
path | True |
string |
引用特定大型人员组的 ID。 Regex pattern: |
persisted
|
path | True |
string uuid |
引用现有人脸的特定 persistedFaceId 的 ID。 |
person
|
path | True |
string uuid |
引用特定人员的 ID。 |
请求头
名称 | 必需 | 类型 | 说明 |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
成功的调用将返回空的响应正文。 |
|
Other Status Codes |
错误响应。 |
安全性
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
示例
Delete face from person example
Sample Request
DELETE {Endpoint}/face/v1.0/largepersongroups/abc/persons/25985303-c537-4467-b41d-bdb45cd95ca1/persistedfaces/62004fa7-1ac0-478e-9d5a-b38f9e7fbc68
Sample Response
定义
名称 | 说明 |
---|---|
APIError |
API 返回的错误信息 |
Error |
错误正文。 |
APIError
API 返回的错误信息
名称 | 类型 | 说明 |
---|---|---|
error |
错误正文。 |
Error
错误正文。
名称 | 类型 | 说明 |
---|---|---|
code |
string |
|
message |
string |