Forget a memory
curl --request DELETE \
--url https://api.usenexio.com/conversations/memory/{memoryID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usenexio.com/conversations/memory/{memoryID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usenexio.com/conversations/memory/{memoryID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"state": "forgotten"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}Conversations
Forget a memory
Forgets one memory for good: the fact is blanked and only its fingerprint is kept, so no later pass learns or adds it again. A person’s memory requires conversations:use and the end user; an org memory (subject=org) also requires conversations:memory:write. 409 memory_busy means the memory is being updated; retry after the Retry-After seconds. For a person’s memory, an organization key is refused with 403 legacy_key_person_route.
DELETE
/
conversations
/
memory
/
{memoryID}
Forget a memory
curl --request DELETE \
--url https://api.usenexio.com/conversations/memory/{memoryID} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.usenexio.com/conversations/memory/{memoryID}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.usenexio.com/conversations/memory/{memoryID}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"state": "forgotten"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}{
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}