---
title: "Delete an Agent memory repo"
method: DELETE
path: "/api/agent-memory/{repo}"
tags: ["Agent Memory"]
---

# Delete an Agent memory repo

`DELETE /api/agent-memory/{repo}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `x-sixb-csrf`
  - HTTP bearer
  - HTTP bearer

Deletes the repo with its history.

## Path parameters

- `repo` 'user' | 'project', required: user: the caller's own memory. project: the memory the whole project shares.

## Response `200`

Response for status 200

- object
  - `deleted` true, required

## Other responses

- `400`: Response for status 400
- `403`: Response for status 403
- `501`: Response for status 501

## Changes

- **2026-10-21** `54deed43546b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sixb-ai/apis/sixb-api/changes/api/agent-memory/:repo/delete.md)

---

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