Person Group Person - Delete
Ta bort en befintlig person från en persongrupp. Funktionen persistedFaceId, userData, personnamn och ansiktsigenkänning i personposten tas bort.
DELETE {Endpoint}/face/v1.0/persongroups/{personGroupId}/persons/{personId}
URI-parametrar
| Name | I | Obligatorisk | Typ | Description |
|---|---|---|---|---|
|
Endpoint
|
path | True |
string |
Cognitive Services-slutpunkter som stöds (protokoll och värdnamn, till exempel: https://westus.api.cognitive.microsoft.com). |
|
person
|
path | True |
string maxLength: 64pattern: ^[a-z0-9-_]+$ |
Id som refererar till en viss persongrupp. |
|
person
|
path | True |
string (uuid) |
Id som refererar till en viss person. |
Begärandehuvud
| Name | Obligatorisk | Typ | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
Svar
| Name | Typ | Description |
|---|---|---|
| 200 OK |
Ett lyckat anrop returnerar en tom svarstext. |
|
| Other Status Codes |
Felsvar. |
Säkerhet
Ocp-Apim-Subscription-Key
Typ:
apiKey
I:
header
Exempel
Delete an existing person example
Exempelbegäran
DELETE {Endpoint}/face/v1.0/persongroups/abc/persons/25985303-c537-4467-b41d-bdb45cd95ca1
Exempelsvar
Definitioner
| Name | Description |
|---|---|
| APIError |
Felinformation som returneras av API:et |
| Error |
Feltext. |
APIError
Felinformation som returneras av API:et
| Name | Typ | Description |
|---|---|---|
| error |
Feltext. |
Error
Feltext.
| Name | Typ | Description |
|---|---|---|
| code |
string |
|
| message |
string |