Text Independent - Delete Profile

Ta bort profil
Tar bort en befintlig profil.

DELETE {endpoint}/speaker-recognition/verification/text-independent/profiles/{profileId}?api-version=2021-09-05

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).

profileId
path True

string

uuid

Unik identifierare för profil-ID (GUID).

api-version
query True

string

Anger vilken version av åtgärden som ska användas för den här begäran.

Begärandehuvud

Name Obligatorisk Typ Description
Ocp-Apim-Subscription-Key True

string

Svar

Name Typ Description
204 No Content

OK

Other Status Codes

SpeakerErrorInfo

Fel

Headers

x-ms-error-code: string

Säkerhet

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Exempel

Successful Query

Sample Request

DELETE https://westus.api.cognitive.microsoft.com/speaker-recognition/verification/text-independent/profiles/49a36324-fc4b-4387-aa06-090cfbf0064f?api-version=2021-09-05

Sample Response

Content-Type: application/json
Content-Type: application/json
x-ms-error-code: Error Code
{
  "error": {
    "code": "Error Code",
    "message": "Erro Messae"
  }
}

Definitioner

Name Description
Error
SpeakerErrorInfo

Talarfelmeddelande

Error

Name Typ Description
code

string

message

string

SpeakerErrorInfo

Talarfelmeddelande

Name Typ Description
error

Error