---
title: "Remove the image, keep the text"
method: DELETE
path: "/api/v1/memory/image"
tags: ["memory"]
---

# Remove the image, keep the text

`DELETE /api/v1/memory/image`

## Request

- Base URL: `https://api.wontopos.com`
- URL: `https://api.wontopos.com/api/v1/memory/image`
- Auth: API key in header `X-API-Key`

Drops the image and leaves the caption — unless the memory was only a image, in which case the memory goes too. The response says which happened. `preview: true` asks without changing anything.

## Headers

- `X-WOS-Model` string

## Request body

- object
  - `user_id` string, required: The store to operate on. Stores are explicit: create one first or use the built-in "default". Use the id the store was created with: 1-64 ASCII letters, digits, ., _ or -, starting with a letter or digit. Ids that differ only by case name one store.
  - `memory_id` string, uuid, required
  - `preview` boolean: Report what would happen and change nothing.

## Response `200`

Success.

- object
  - `user_id` string
  - `memory_id` string, uuid
  - `memory_kept` boolean: false when the memory was only an image and went with it.
  - `preview` boolean

## Other responses

- `401`: Missing or invalid API key.
- `404`: Store (user_id) does not exist. Create it first: POST /api/v1/memory/collection.
- `429`: Rate limited (per-account, per-tier RPM). Retry after the indicated delay.
- `501`: The selected model’s engine does not implement this endpoint (Tablet 2 and newer do). The message names the model.

---

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