Remove the OpenAI-compatible provider settings
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/openai-compatible"
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/openai-compatible', 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/openai-compatible \
--header 'Authorization: Bearer <token>'{
"configured": true,
"base_url": "<string>",
"model": "<string>",
"key_preview": "<string>"
}AI Settings
Remove the OpenAI-compatible provider settings
Deletes the organisation’s single OpenAI-compatible configuration. Requires the ai.manage permission.
DELETE
/
api
/
v1
/
org
/
ai-settings
/
openai-compatible
Remove the OpenAI-compatible provider settings
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/openai-compatible"
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/openai-compatible', 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/openai-compatible \
--header 'Authorization: Bearer <token>'{
"configured": true,
"base_url": "<string>",
"model": "<string>",
"key_preview": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.