DELETE
/
memories
/
delete-file
curl --request DELETE \
  --url https://api.duohub.ai/memories/delete-file \
  --header 'X-API-Key: <api-key>'
{
  "status": "success"
}

Please note this endpoint can only be used with memories created on or after 17-Dec-2024.

Authorizations

X-API-Key
string
header
required

Your duohub API key. Type: str

Query Parameters

fileID
string
required

ID of the file to remove from the memory

memoryID
string
required

ID of the memory to remove the file from

Response

200
application/json
File deleted from memory successfully
status
enum<string>
required
Available options:
success