Erase all memory
curl --request DELETE \
--url https://nemonist.com/api/v1/memory \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/memory"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/memory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "deleted",
"records": 123
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}Memory
Erase all memory
Erases every workspace memory this key’s account holds and the request records kept for it. It cannot be undone.
DELETE
/
memory
Erase all memory
curl --request DELETE \
--url https://nemonist.com/api/v1/memory \
--header 'Authorization: Bearer <token>'import requests
url = "https://nemonist.com/api/v1/memory"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nemonist.com/api/v1/memory', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"status": "deleted",
"records": 123
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}{
"error": {
"message": "<string>",
"code": 123,
"type": "<string>"
}
}