> For the complete documentation index, see [llms.txt](https://brixxbox.gitbook.io/brixxbox-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brixxbox.gitbook.io/brixxbox-documentation/client-api-reference/functions/deleteattachment.md).

# deleteAttachment

Deletes an attachment and its link to a record.

### Parameters

* attachmentId - the id of the attachment you want to delete

### Example Usages

```javascript
   brixxApi.deleteAttachment(42);
```
