---
title: "Delete Attachment"
method: DELETE
path: "/companies/{id_or_urn}/attachments/{urn}"
tags: ["companies", "attachments"]
---

# Delete Attachment

`DELETE /companies/{id_or_urn}/attachments/{urn}`

## Request

- Base URL: `https://api.harmonic.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.harmonic.ai/companies/{id_or_urn}/attachments/{urn}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/docs/companies/:id_or_urn/attachments/:urn/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id_or_urn` union, required
  - integer
  - string, uuid
  - string
- `urn` string, required

## Response `200`

Successful Response

- boolean

## Other responses

- `422`: Validation Error

## Changes

- **2026-07-26** `fcf35c98e097`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/changes/companies/:id_or_urn/attachments/:urn/delete.md)

---

[API](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api.md) - [All operations](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/harmonic/apis/harmonic-ai-public-api/revisions/a00e2a4c4c9e?raw)
