Skip to main content
DELETE
Delete Memory

Overview

Delete a memory by its unique ID. This is useful for removing outdated rules, incorrect information, or memories that are no longer relevant to your project.

Authentication

Requires a valid JWT token in the Authorization header:

Path Parameters

string
required
Unique ID of the memory to delete

Query Parameters

string
required
Repository in owner/repo format (e.g., “acme/api-server”)

Response

string
Status of the operation (“deleted”)

Example Request

Example Response

Error Responses

Memory Not Found

HTTP Status: 404 Not Found

Repository Not Connected

HTTP Status: 403 Forbidden

Use Cases

Remove Outdated Rule

Bulk Delete by Pattern

Clean Up Developer Memories

Interactive Memory Management

Remove Duplicate Memories

Conditional Cleanup After Project Migration

Notes

  • Deletion is permanent and cannot be undone
  • You must have the repository connected to your account to delete memories
  • Deleting a memory will immediately affect future code reviews
  • If a memory was auto-learned from PR analysis, it may be recreated if similar patterns appear in future PRs
  • The repo query parameter is required for access control validation