---
title: "Delete every memory about a member (owner only)"
method: POST
path: "/memories/delete-for-member"
tags: ["Assistant memory"]
---

# Delete every memory about a member (owner only)

`POST /memories/delete-for-member`

## Request

- Base URL: `https://tasg.app/api/v1`
- URL: `https://tasg.app/api/v1/memories/delete-for-member`
- Auth: HTTP bearer

Workspace owner only: hard-deletes every memory in the workspace whose subject is the named user, any scope or status. The offboarding/DSAR action (memories are also cleaned automatically when a member loses access to the workspace).

## Request body

- object
  - `workspace_id` string, uuid, required
  - `user_id` string, uuid, required

## Response `200`

Deleted.

- object
  - `ok` boolean, required
  - `deleted` integer, required

## Other responses

- `400`: Validation failed: the body or query did not match the schema, or a business rule was violated. `error` says which.
- `401`: Missing, invalid, expired or revoked credentials.
- `403`: Authenticated, but not allowed: not a member, insufficient project role or the API token lacks the required scope.
- `404`: Not found, or not visible to the caller (tenancy is enforced: foreign resources look identical to missing ones).
- `429`: Rate limited. Back off and retry after the window in the `RateLimit-*` headers.

---

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