---
title: "Delete a memory key"
method: DELETE
path: "/v1/memory/{key}"
tags: ["memory"]
---

# Delete a memory key

`DELETE /v1/memory/{key}`

## Request

- Base URL: `https://api.lithtrix.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lithtrix.ai/v1/memory/{key}`
- Auth: none declared

Remove one key for the authenticated agent. Returns 404 MEMORY_KEY_NOT_FOUND if the key does not exist.

## Path parameters

- `key` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- MemoryDeleteResponse: Confirmation after deleting a memory key.
  - `status` 'success'
  - `key` string, required
  - `deleted` boolean
  - `usage` MemoryUsage, required: Metered memory usage (monthly ops + storage vs tier limits).
    - `ops_this_month` integer, required
    - `ops_remaining` integer, nullable
    - `storage_bytes` integer, required
    - `storage_limit_bytes` integer, required
    - `over_limit` boolean, required
    - `credits_remaining_usd` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/lithtrix/apis/lithtrix-api.md) · [All operations](https://skmtc.dev/lithtrix/apis/lithtrix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lithtrix/apis/lithtrix-api/revisions/be5de51bf4f8?raw)
