Made in 10Docs
GuidesAPI
ReferenceMemories

Delete one fact

Deletes one fact about the person (its id is in `getMemories`).

DELETE
/memories/{memory_key}/{fact_id}

Authorization

secretKey
headerAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>

A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.

Path Parameters

memory_key*string

Who the memories are about (the memory_key your calls were started with).

Match^[0-9A-Za-z_\-:.@+]{1,200}$
Example"user_42"
fact_id*string

The fact's id.

Match^mem_[0-9A-Za-z]{20}$
Example"mem_9Pk3Wx6TbQ1nLv8RcH2d"

Query Parameters

env?string

Optional. Only this key's own env is allowed; another is 400 invalid_field.

Value in"live""test"

Response Body

Deleted.

application/json
  1. response
ok*boolean
id*MemoryFactId
Match^mem_[0-9A-Za-z]{20}$
Example"mem_9Pk3Wx6TbQ1nLv8RcH2d"
Example Request
curl -X DELETE 'https://api.daxov.com/v1/memories/user_42/mem_9Pk3Wx6TbQ1nLv8RcH2d'
Example Response
{  "ok": true,  "id": "mem_9Pk3Wx6TbQ1nLv8RcH2d"}