> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b-bot.space/llms.txt
> Use this file to discover all available pages before exploring further.

# API User Memories: Delete Memory

> Delete a memory for one of your end-users (tenant-scoped)

## Overview

Delete a memory item for one of your end-users. The backend derives the storage namespace from your tenant + `end_user_id` + `expert_id`.

## Authentication

Send your API key via `BBOT-API-Key` (or `X-API-Key`).

## Body

<ParamField body="expert_id" type="integer" required>
  Expert id
</ParamField>

<ParamField body="end_user_id" type="string" required>
  Your end-user identifier
</ParamField>

<ParamField body="layer" type="string" required>
  core | mid | long
</ParamField>

<ParamField body="key" type="string" required>
  Store key to delete
</ParamField>

## Example Request

```bash cURL theme={null}
curl --location 'https://api.b-bot.space/api/v0/api-user/memories/delete' \
  --header 'Content-Type: application/json' \
  --header 'BBOT-API-Key: <your-bbot-api-key>' \
  --data '{
    "expert_id": 42,
    "end_user_id": "user-123",
    "layer": "long",
    "key": "long_custom_001"
  }'
```
