---
title: "Delete a memory file"
method: DELETE
path: "/v3/organizations/{orgId}/memory/file"
tags: ["Memory"]
---

# Delete a memory file

`DELETE /v3/organizations/{orgId}/memory/file`

## Request

- Base URL: `https://api.reasonmachines.com`
- URL: `https://api.reasonmachines.com/v3/organizations/{orgId}/memory/file`
- Auth: HTTP bearer

Deletes one note. The deletion is a revision like any other change, so the note can be restored from memory history in Settings. `MEMORY.md` cannot be deleted (400); rewrite it shorter instead. Team notes take deletes only from a Workspace owner or admin.

<sub>Scope: `memory:write`</sub>

## Query parameters

- `scope` 'personal' | 'team', required
- `path` string, required

## Response `200`

Deleted.

- MemoryDeleteResponse
  - `scope` 'personal' | 'team': `personal`: the memory of the person the API key or OAuth grant belongs to, private to them. `team`: the Workspace's shared team memory, which every member's Sessions read.
  - `path` string
  - `deleted` boolean

## Other responses

- `400`: Invalid request.
- `401`: Missing, invalid, or expired key.
- `403`: The key lacks the required scope or role.
- `404`: Resource not found.
- `409`: The request conflicts with the current resource state.
- `429`: Too many requests. Retry after the number of seconds in the `Retry-After` response header.

## Changes

- **2026-10-26** `c250866428e0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ara/apis/reason-api/changes/v3/organizations/:orgId/memory/file/delete.md)

---

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