Deleted Accounts - Purge

Töröl egy Cognitive Services-fiókot az erőforráscsoportból.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}?api-version=2025-06-01

URI-paraméterek

Name In Kötelező Típus Description
accountName
path True

string

minLength: 2
maxLength: 64
pattern: ^[a-zA-Z0-9][a-zA-Z0-9_.-]*$

A Cognitive Services-fiók neve.

location
path True

string

Erőforrás helye.

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Az erőforráscsoport neve. A név nem megkülönbözteti a kis- és nagybetűket.

subscriptionId
path True

string

minLength: 1

A cél-előfizetés azonosítója.

api-version
query True

string

minLength: 1

A művelethez használni kívánt API-verzió.

Válaszok

Name Típus Description
200 OK

A 200 (OK) értéket kell visszaadni, ha az objektum létezik és sikeresen törölték;

202 Accepted

HTTP 202 (elfogadva), ha a művelet sikeresen elindult, és aszinkron módon fejeződik be.

204 No Content

a 204 (NoContent) értéket kell használni, ha az erőforrás nem létezik, és a kérés jól formázott.

Other Status Codes

ErrorResponse

Hibaválasz, amely leírja, hogy miért nem sikerült a művelet

Példák

Delete Account

Mintakérelem

DELETE https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.CognitiveServices/locations/westus/resourceGroups/myResourceGroup/deletedAccounts/PropTest01?api-version=2025-06-01

Mintaválasz

azure-asyncoperation: http://azure.async.operation/status

Definíciók

Name Description
ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

ErrorDetail

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorDetail[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hiba célpontja.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.