Person Group Operations - Delete Large Person Group
刪除具有指定 personGroupId 的現有大型人員群組。 將會刪除此大型人員群組中的保存數據。
DELETE {endpoint}/face/{apiVersion}/largepersongroups/{largePersonGroupId}
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
api
|
path | True |
string |
API 版本 |
endpoint
|
path | True |
string uri |
支持的認知服務端點 (通訊協定和主機名,例如:https://{resource-name}.cognitiveservices.azure.com) 。 |
large
|
path | True |
string |
容器的標識碼。 Regex pattern: |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
要求成功。 |
|
Other Status Codes |
非預期的錯誤回應。 Headers x-ms-error-code: string |
安全性
Ocp-Apim-Subscription-Key
Azure AI 臉部訂用帳戶的秘密密鑰。
Type:
apiKey
In:
header
AADToken
Azure Active Directory OAuth2 流程
Type:
oauth2
Flow:
accessCode
Authorization URL:
https://api.example.com/oauth2/authorize
Token URL:
https://api.example.com/oauth2/token
Scopes
名稱 | Description |
---|---|
https://cognitiveservices.azure.com/.default |
範例
Delete LargePersonGroup
Sample Request
DELETE {endpoint}/face/v1.1-preview.1/largepersongroups/your_large_person_group_id
Sample Response
定義
名稱 | Description |
---|---|
Face |
error 物件。 如需臉部服務所傳回之錯誤碼和訊息的完整詳細數據,請參閱下列連結: https://aka.ms/face-error-codes-and-messages。 |
Face |
包含錯誤詳細數據的回應。 |
FaceError
error 物件。 如需臉部服務所傳回之錯誤碼和訊息的完整詳細數據,請參閱下列連結: https://aka.ms/face-error-codes-and-messages。
名稱 | 類型 | Description |
---|---|---|
code |
string |
其中一組伺服器定義的錯誤碼。 |
message |
string |
人類可讀取的錯誤表示法。 |
FaceErrorResponse
包含錯誤詳細數據的回應。
名稱 | 類型 | Description |
---|---|---|
error |
error 物件。 |