> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/open-webui/open-webui/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Chat

> Delete a specific chat

Permanently deletes a chat and all associated messages. This action cannot be undone.

<Note>
  Users require the `chat.delete` permission to delete their own chats. Admin users can delete any chat.
</Note>

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the chat to delete
</ParamField>

## Response

<ResponseField name="Response" type="boolean">
  Returns `true` if the chat was successfully deleted, `false` otherwise
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE "https://your-domain.com/api/chats/550e8400-e29b-41d4-a716-446655440000" \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  true
  ```
</ResponseExample>

## Notes

* Deleting a chat also removes all messages in the chat history
* If the chat is shared, the shared version is also deleted
* Orphaned tags (tags with no remaining chats) are automatically cleaned up
* Admin users can delete any chat regardless of ownership
* Non-admin users can only delete their own chats and require `chat.delete` permission
