> For the complete documentation index, see [llms.txt](https://codemash.gitbook.io/codemash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://codemash.gitbook.io/codemash/api-reference/ai/chat/delete-end-user-chat-attachment.md).

# Delete End User Chat Attachment

Removes a file from one of the caller's own AI chats.

The AI module manages your project's LLM and MCP integrations — connecting language-model providers and Model Context Protocol servers so agents can work with your backend.

This endpoint removes the end user chat attachment. This action cannot be undone.

{% hint style="warning" %}
This action is destructive or irreversible. Make sure you target the right item and confirm before running it.
{% endhint %}

{% openapi src="/files/LFXChrE9wGFKCxqoL5A1" path="/{version}/ai/chat/attachments/{AttachmentId}" method="delete" %}
[norbix-api-swagger.json](https://712692422-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHy372bqsaex2cqS3ikhL%2Fuploads%2Fgit-blob-b1d87ac242f296adb274a3238bdeaff152c54b4a%2Fnorbix-api-swagger.json?alt=media)
{% endopenapi %}

## In Cloud

Manage this visually in Cloud — see [AI Integrations](/codemash/ai/products.md).

## Use it from code

Every Norbix SDK exposes this endpoint as a method — see [Delete End User Chat Attachment](/codemash/sdks/ai/chat/delete-end-user-chat-attachment.md) in the SDK reference, with examples in every language.
