---
title: "Delete a conversation: it disappears and what was said in it is erased (its cost stays in the usage)"
method: DELETE
path: "/assistant/conversations/{conversationId}"
tags: ["Assistant"]
---

# Delete a conversation: it disappears and what was said in it is erased (its cost stays in the usage)

`DELETE /assistant/conversations/{conversationId}`

## Request

- Base URL: `https://hostingsurge.com/api/v1`
- URL: `https://hostingsurge.com/api/v1/assistant/conversations/{conversationId}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-hs_session`

## Path parameters

- `conversationId` string, uuid, required

## Response `200`

Deleted

- object
  - `deleted` true, required

## Other responses

- `400`: Invalid request (code invalid_request; details.reason secret_detected when a question contains a secret)
- `401`: Not signed in (code unauthorized)
- `403`: Not a dashboard session, or the operator switched the assistant off for this team (details.reason assistant_blocked)
- `404`: Not found, or not your conversation (code not_found)
- `501`: No AI model on this server (code not_configured)

---

[API](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api.md) · [All operations](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hostingsurge/apis/hostingsurge-platform-api/revisions/4d08337cdff1?raw)
