Aracılığıyla paylaş


Person Group Person - Delete

Bir kişi grubundan var olan bir kişiyi silme. Kişi girdisindeki persistedFaceId, userData, kişi adı ve yüz tanıma özelliğinin tümü silinir.

DELETE {Endpoint}/face/v1.0/persongroups/{personGroupId}/persons/{personId}

URI Parametreleri

Name İçinde Gerekli Tür Description
Endpoint
path True

string

Desteklenen Bilişsel Hizmetler uç noktaları (protokol ve konak adı, örneğin: https://westus.api.cognitive.microsoft.com).

personGroupId
path True

string

maxLength: 64
pattern: ^[a-z0-9-_]+$

Belirli bir kişi grubuna başvuran kimlik.

personId
path True

string (uuid)

Belirli bir kişiye başvuran kimlik.

İstek Başlığı

Name Gerekli Tür Description
Ocp-Apim-Subscription-Key True

string

Yanıtlar

Name Tür Description
200 OK

Başarılı bir çağrı boş bir yanıt gövdesi döndürür.

Other Status Codes

APIError

Hata yanıtı.

Güvenlik

Ocp-Apim-Subscription-Key

Tür: apiKey
İçinde: header

Örnekler

Delete an existing person example

Örnek isteği

DELETE {Endpoint}/face/v1.0/persongroups/abc/persons/25985303-c537-4467-b41d-bdb45cd95ca1

Örnek yanıt

Tanımlar

Name Description
APIError

API tarafından döndürülen hata bilgileri

Error

Hata gövdesi.

APIError

API tarafından döndürülen hata bilgileri

Name Tür Description
error

Error

Hata gövdesi.

Error

Hata gövdesi.

Name Tür Description
code

string

message

string