Delete Source Endpoint
ソースを削除し、由来ページ・Embedding・KG をカスケード削除(Section 4)。admin 以上。
DELETE
/sources/{source_id}Path parameters
source_idstringrequiredHeader parameters
authorizationstring | anyX-Api-Keystring | anyResponses
200Successful Response
any422Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredRequest
curl -X DELETE "/sources/string"const response = await fetch("/sources/string", {
method: "DELETE"
});import requests
response = requests.delete(
"/sources/string",
)Response
"string"{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}