Skip to main content
DELETE
Delete an app user's memory
This works only with a key set to memory for each user of your app, and the user is named by x-atlaso-user. A key whose Memory for is Me gets 403 owner_erase_dashboard_only and nothing is deleted: use Delete all memories on the dashboard instead. The deletion cannot be undone. See Memory API.

Authorizations

Authorization
string
header
required

Your Atlaso key in Authorization: Bearer sk-at-.... Send one Authorization header. A request that also sends x-atlaso-key is refused with 401.

Headers

x-atlaso-user
string

Your app user's id, set by your server. A key set to memory for each user of your app must send it on every call; without it the call gets 400 memory_scope_per_user, and an empty value gets 400 missing_user_id. A key whose Memory for is Me reaches your own memory and must not send it: with it, the call gets 403 memory_scope_owner and nothing is read or written. 1 to 256 printable characters, not only spaces, with no API key or token in it. Send it once. Used exactly as sent.

Required string length: 1 - 256

Response

The deletion receipt.

object
enum<string>
required
Available options:
memory.app_user.deleted
app_user
string
required

The app user's 12-character label.

deleted
boolean
required
facts_deleted
integer
required
counts
object
required

What was removed.

remaining
enum<integer>
required
Available options:
0
deleted_at
string
required

ISO 8601, UTC.