Remove the organisation OpenRouter API key
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/openrouter"
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/openrouter', 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/openrouter \
--header 'Authorization: Bearer <token>'{
"configured": true,
"key_preview": "<string>"
}AI Settings
Remove the organisation OpenRouter API key
Deletes the stored OpenRouter key. When OpenRouter was the active provider the organisation falls back to the Ankra provider. Requires the ai.manage permission.
DELETE
/
api
/
v1
/
org
/
ai-settings
/
openrouter
Remove the organisation OpenRouter API key
import requests
url = "https://platform.ankra.app/api/v1/org/ai-settings/openrouter"
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/openrouter', 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/openrouter \
--header 'Authorization: Bearer <token>'{
"configured": true,
"key_preview": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.