Delete a thread
curl --request DELETE \
--url https://aquila.attaxr.com/api/chat/{id} \
--cookie better-auth.session_token=const options = {method: 'DELETE', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/chat/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/chat/{id}"
headers = {"cookie": "better-auth.session_token="}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Chat
Delete a thread
Deletes the thread and its messages. When the deleted session was the last one bound to its scan, the scan document itself is removed too — the scan row only; findings, agent runs and every other record associated with the scan stay.
DELETE
/
api
/
chat
/
{id}
Delete a thread
curl --request DELETE \
--url https://aquila.attaxr.com/api/chat/{id} \
--cookie better-auth.session_token=const options = {method: 'DELETE', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/chat/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/chat/{id}"
headers = {"cookie": "better-auth.session_token="}
response = requests.delete(url, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}
