v1
Memory

Delete All Memories V1

Changed on

Delete all memory items for a user.

**Authentication Required**:
One of the following authentication methods must be used:
- Bearer token in `Authorization` header
- API Key in `X-API-Key` header
- Session token in `X-Session-Token` header

**User Resolution**:
- If only API key is provided: deletes memories for the developer
- If user_id or external_user_id is provided: resolves and deletes memories for that user
- Uses the same user resolution logic as other endpoints

**Required Headers**:
- X-Client-Type: (e.g., 'papr_plugin', 'browser_extension')

**WARNING**: This operation cannot be undone. All memories for the resolved user will be permanently deleted.
delete/v1/memory/all

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/memory/all
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Query parameters

user_idstring nullable

Optional user ID to delete memories for (if not provided, uses authenticated user)

external_user_idstring nullable

Optional external user ID to resolve and delete memories for

namespace_idstring nullable

Optional namespace ID to scope deletion to

skip_parseboolean

Skip Parse Server deletion

Response

All memories successfully deleted

codeinteger

HTTP status code for the batch operation

statusstring

'success', 'partial', or 'error'

messagestring nullable

Human-readable status message

errorstring nullable

Batch-level error message, if any

detailsunknown
batch_idstring nullable

Batch tracking ID for status polling via GET /v1/memory/batch/status/{batch_id} and WebSocket updates

total_processedinteger
total_successfulinteger
total_failedinteger
total_content_sizeinteger
total_storage_sizeinteger

Changes

    • info

      added the new optional query request parameter namespace_id

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status