---
title: "Clear Thread Stay Link"
method: DELETE
path: "/email/threads/{thread_id}/stay-link"
tags: ["email"]
---

# Clear Thread Stay Link

`DELETE /email/threads/{thread_id}/stay-link`

Detach the thread from its stay. Supersedes, never deletes.

Returns 204 explicitly rather than via ``status_code=``: this module uses
``from __future__ import annotations``, so a ``-> None`` annotation still
builds a response field and FastAPI rejects a body on 204.

## Path parameters

- `thread_id` string, uuid, required

## Response `204`

Link cleared

## Other responses

- `404` — Email thread not found
- `422` — Validation Error

## Changes

> 17 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/email/threads/:thread_id/stay-link/delete.md)

---

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