---
title: "Delete a specific attachment"
description: "DELETE /attachments/{attachment_id} — Deletes an attachment from the note, call, meeting or deal it was uploaded to. The file stops being returned by the API immediately; the stored copy is retained rather than purged straight away."
canonical_url: https://developer.onepagecrm.com/api/reference/attachments/delete-attachments-attachment_id/
source: Markdown mirror of https://developer.onepagecrm.com/api/reference/attachments/delete-attachments-attachment_id/
---

`DELETE /attachments/{attachment_id}`

Deletes an attachment from the note, call, meeting or deal it was uploaded to. The file stops being returned by the API immediately; the stored copy is retained rather than purged straight away.

Resource: [Attachments](https://developer.onepagecrm.com/api/reference/attachments/) · [API Reference](https://developer.onepagecrm.com/api/reference/)

## Request

```bash
curl -X DELETE "https://app.onepagecrm.com/api/v3/attachments/{attachment_id}" \
  -u $user_id:$api_key
```

Authentication is HTTP Basic — `user_id` as username, `api_key` as password.
See https://developer.onepagecrm.com/api/authentication/.

## Path parameters

| Name | Type | Description |
| --- | --- | --- |
| `attachment_id` | string | Attachment ID |

## Responses

### 200

OK

Standard error responses: 400, 401, 403, 404, 409, 500 — shared across the API. See https://developer.onepagecrm.com/api/errors/.

## Related guides

- [Authentication](https://developer.onepagecrm.com/api/authentication/)
- [Errors](https://developer.onepagecrm.com/api/errors/)
- [Rate limits](https://developer.onepagecrm.com/api/rate-limits/)
- [Undo deletion](https://developer.onepagecrm.com/api/undo-deletion/)
