# IRPCConversationOperations.DeleteConversationById

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Conversations](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCConversationOperations/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCConversationOperations/DeleteConversationById/

Badges: `Vault API / standard` `write` `session`

Deletes one of the caller's conversations and all its chat turns.

- **Service:** [Conversations](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCConversationOperations/index.md) `MFiles.IRPCConversationOperations`
- **gRPC method:** `/MFiles.IRPCConversationOperations/DeleteConversationById`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/delete-conversation-by-id`
- **Request:** [`DeleteConversationByIdRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCConversationOperations/DeleteConversationById/index.md#request)
- **Response:** [`DeleteConversationByIdResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCConversationOperations/DeleteConversationById/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- A conversation of another user fails with "Access is denied."; an ID that does not exist
  fails with "The parameter is incorrect.".
- Deleted conversations are no longer returned. The server keeps an archived copy of them and
  of their chat turns.

<a id="request"></a>

## Request: DeleteConversationByIdRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `id` | `uint32` | The ID of the conversation. |

<a id="response"></a>

## Response: DeleteConversationByIdResponse

No fields.
