---
title: "Erase a person's knowledge: their memory items (+versions, events), evidence quoting them, their learning issues (dry run, then confirm)"
method: POST
path: "/api/admin/principals/{principalId}/knowledge-erasure"
tags: ["admin"]
---

# Erase a person's knowledge: their memory items (+versions, events), evidence quoting them, their learning issues (dry run, then confirm)

`POST /api/admin/principals/{principalId}/knowledge-erasure`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/admin/principals/{principalId}/knowledge-erasure`
- Auth: none declared

## Path parameters

- `principalId` string, required

## Request body

- object
  - `orgIds` string[]
  - `confirm` boolean

## Response `200`

Dry-run counts, or what was erased.

- object

## Other responses

- `400`: Invalid.
- `403`: Not a super_admin.
- `404`: Not found.
- `409`: Conflict.
- `503`: Disabled.

---

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