---
title: "Retire People Endpoint"
method: POST
path: "/api/admin/identities/retire"
tags: ["admin-identities"]
---

# Retire People Endpoint

`POST /api/admin/identities/retire`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/admin/identities/retire`
- Auth: none declared

Retire disabled people for good and make every Mind forget what they taught (TOS-7357).

Soft deletes only, so every step is reversible: their agents, the private homes of
the people and those agents (TOS-7618), their chats that no
remaining person shares, their documents, and the person, with access tokens turned
off. The forgetting is queued in the same transaction. ``dry_run`` (the default)
returns the counts and changes nothing. Each person must already be disabled through
``PATCH /api/admin/identities/{id}`` so the Clerk account is banned first.

## Request body

- RetirePeopleIn
  - `identity_ids` string[], required
  - `dry_run` boolean

## Response `200`

Successful Response

- RetirePeopleOut
  - `dry_run` boolean, required
  - `people` string[], required
  - `agents` integer, required
  - `agents_left_alone` string[], required
  - `homes` integer, required
  - `homes_left_alone` string[], required
  - `chats` integer, required
  - `documents` integer, required
  - `documents_in_shared_libraries` integer, required
  - `api_keys` integer, required
  - `oauth_tokens` integer, required
  - `bypass_tokens` integer, required

## Other responses

- `422`: Validation Error

---

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