---
title: "Archive Conversation"
method: POST
path: "/trips/{trip_id}/conversations/{conversation_id}/archive"
---

# Archive Conversation

`POST /trips/{trip_id}/conversations/{conversation_id}/archive`

Take a conversation off this trip's page.

What that MEANS depends on the link, because the roster now lists chats
this trip does not own. A chat filed here (primary) is archived, as it
always was. A chat that merely REFERENCED this trip loses the reference row
instead: archiving is global, so archiving one would silently pull a chat
off the user's phone because they tidied a trip page on the laptop. Both
arms leave the trip page, which is the whole of the caller's intent.

## Path parameters

- `trip_id` string, required
- `conversation_id` string, required

## Response `200`

Successful Response

- MessageResponse
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/stardrift/apis/fastapi/revisions/92653d53d791?raw)
