Person Group Person - Delete
从人员组中删除现有人员。 将删除人员条目中的 persistedFaceId、userData、人员名称和人脸功能。
DELETE {Endpoint}/face/v1.0/persongroups/{personGroupId}/persons/{personId}
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
Endpoint
|
path | True |
string |
支持的认知服务终结点(协议和主机名,例如:https://westus.api.cognitive.microsoft.com)。 |
|
person
|
path | True |
string maxLength: 64pattern: ^[a-z0-9-_]+$ |
引用特定人员组的 ID。 |
|
person
|
path | True |
string (uuid) |
引用特定人员的 ID。 |
请求头
| 名称 | 必需 | 类型 | 说明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
成功的调用返回空响应正文。 |
|
| Other Status Codes |
错误响应。 |
安全性
Ocp-Apim-Subscription-Key
类型:
apiKey
在:
header
示例
Delete an existing person example
示例请求
DELETE {Endpoint}/face/v1.0/persongroups/abc/persons/25985303-c537-4467-b41d-bdb45cd95ca1
示例响应
定义
| 名称 | 说明 |
|---|---|
| APIError |
API 返回的错误信息 |
| Error |
错误正文。 |
APIError
API 返回的错误信息
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误正文。 |
Error
错误正文。
| 名称 | 类型 | 说明 |
|---|---|---|
| code |
string |
|
| message |
string |