Permanently delete a chat
curl --request DELETE \
--url https://api.itoflow.ai/chat-runtime/chats/{chatId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.itoflow.ai/chat-runtime/chats/{chatId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.itoflow.ai/chat-runtime/chats/{chatId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true
}Chat
Permanently delete a chat
Permanently delete one of your chats and the files in its workspace. Account integrations stay connected. If the response is lost, retry the same delete for the same chat ID.
Operation ID: chat_delete.
DELETE
https://api.itoflow.ai
/
chat-runtime
/
chats
/
{chatId}
Permanently delete a chat
curl --request DELETE \
--url https://api.itoflow.ai/chat-runtime/chats/{chatId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.itoflow.ai/chat-runtime/chats/{chatId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.itoflow.ai/chat-runtime/chats/{chatId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ok": true
}