Delete an AI catalog model
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/models/{model_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/ai-settings/models/{model_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/ai-settings/models/{model_id} \
--header 'Authorization: Bearer <token>'{
"deleted": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}AI Settings
Delete an AI catalog model
Removes a catalog entry, addressed by its row UUID or its catalog key. Requires the ai.manage permission.
DELETE
/
api
/
v1
/
org
/
ai-settings
/
models
/
{model_id}
Delete an AI catalog model
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/models/{model_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/org/ai-settings/models/{model_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/api/v1/org/ai-settings/models/{model_id} \
--header 'Authorization: Bearer <token>'{
"deleted": true
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}