---
title: "Request a soft deletion of this org's data"
method: POST
path: "/me/deletions"
tags: ["deletion"]
---

# Request a soft deletion of this org's data

`POST /me/deletions`

## Request

- Base URL: `https://api.getmetacognition.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getmetacognition.com/me/deletions`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/metacognition/apis/tex-api/docs/me/deletions/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- DeletionRequestIn
  - `target` DeletionTargetIn, required
    - `kind` string, required: memory (one node id) | user_scope (a user's personal scope) | scope (a canonical '<kind>:<value>' scope id) | user (full removal of a user within the org)
    - `value` string, required
    - `owner_user_id` string, nullable: REQUIRED for kind=memory: the user whose memory this is (its engine node and active-tier fragment are owned by that user). Ignored otherwise.
  - `reason` string, nullable
  - `idempotency_key` string, nullable: Replaying the same key returns the first receipt instead of re-running
  - `mode` string: soft (default) | purge (platform admin only)

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/metacognition/apis/tex-api.md) - [All operations](https://skmtc.dev/metacognition/apis/tex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metacognition/apis/tex-api/revisions/3bef47e50f2e?raw)
