Clear user memory

View as markdown
DELETE /z1/memory/clear

Delete all memory/context for a specific user. Useful for:

  • Starting fresh conversations
  • Privacy compliance (user data deletion)
  • Testing

Query parameters

  • user_id string Required

    User ID to clear memory for

Responses

  • 200 application/json

    Memory cleared successfully

    Hide response attributes Show response attributes object
    • status string
    • message string
  • 401 application/json

    Unauthorized - invalid or missing API key

    Hide response attributes Show response attributes object
    • status string
    • message string
    • code string
    • details object | null
DELETE /z1/memory/clear
curl \
 --request DELETE 'https://api.plimverai.tech/z1/memory/clear?user_id=string' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "status": "success",
  "message": "Memory cleared for user_123"
}
Response examples (401)
{
  "code": "UNAUTHORIZED",
  "status": "error",
  "message": "Invalid API key"
}