---
title: "Deprecate"
method: POST
path: "/kythene.v1.KytheneService/Deprecate"
tags: ["kythene.v1.KytheneService"]
---

# Deprecate

`POST /kythene.v1.KytheneService/Deprecate`

## Request

- Base URL: `https://kythene.com` (the document declares no server; this is the origin it was published from)
- URL: `https://kythene.com/kythene.v1.KytheneService/Deprecate`
- Auth: none required

Deprecate marks a memory stale so recall stops surfacing it (instances stop
 applying it), while it stays retrievable for audit. Set restore=true to
 un-deprecate. Optionally record the replacement memory's id in replaced_by.

## Headers

- `Connect-Protocol-Version` 1, required: Define the version of the Connect protocol
- `Connect-Timeout-Ms` number: Define the timeout, in ms

## Request body

- KytheneV1DeprecateRequest
  - `id` string: id is the memory (collection) id to deprecate.
  - `replacedBy` string: replaced_by optionally names the collection id of the replacement memory (a citable successor). Ignored when restore=true.
  - `restore` boolean: restore=true un-deprecates the memory (clears deprecated + replaced_by). Default false deprecates it.
  - `space` string: space optionally selects which of your spaces to act in (an id or name from list_spaces). Omit it when you belong to a single space.

## Response `200`

Success

- KytheneV1DeprecateResponse

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/kythene/apis/kythene-v1.md) · [All operations](https://skmtc.dev/kythene/apis/kythene-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/kythene/apis/kythene-v1/revisions/5a768e642d10?raw)
