Knowledge Agents - Delete

Var olan bir aracıyı siler.

DELETE {endpoint}/agents('{agentName}')?api-version=2025-08-01-preview

URI Parametreleri

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

string

Silinecek aracının adı.

endpoint
path True

string

Arama hizmetinin uç nokta URL'si.

api-version
query True

string

İstemci API sürümü.

İstek Başlığı

Name Gerekli Tür Description
x-ms-client-request-id

string (uuid)

Hata ayıklamaya yardımcı olmak için istekle birlikte gönderilen izleme kimliği.

If-Match

string

If-Match koşulunu tanımlar. İşlem yalnızca sunucudaki ETag bu değerle eşleşirse gerçekleştirilir.

If-None-Match

string

If-None-Match koşulunu tanımlar. İşlem yalnızca sunucudaki ETag bu değerle eşleşmezse gerçekleştirilir.

Yanıtlar

Name Tür Description
204 No Content
404 Not Found
Other Status Codes

ErrorResponse

Hata yanıtı.

Örnekler

SearchServiceDeleteKnowledgeAgent

Örnek isteği

DELETE https://previewexampleservice.search.windows.net/agents('agent-preview-test')?api-version=2025-08-01-preview



Örnek yanıt

Tanımlar

Name Description
ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

ErrorDetail

Hata ayrıntısı.

ErrorResponse

Hata yanıtı

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

ErrorDetail

Hata ayrıntısı.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

ErrorDetail[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.