---
title: "Delete Attachment"
method: DELETE
path: "/attachments/{attachmentId}"
---

# Delete Attachment

`DELETE /attachments/{attachmentId}`

Deletes an attachment: both the stored file and its metadata.

## Path parameters

- `attachmentId` string, uuid, required

## Response `200`

Attachment deleted.

- object
  - `success` boolean, required — Whether the deletion was successful.

## Other responses

- `401` — Error indicating that the request is not authenticated.
- `500` — An internal service error indicating an issue with the Scorecard service.

---

[API](https://skmtc.dev/scorecard-ai/apis/scorecard-api.md) · [All operations](https://skmtc.dev/scorecard-ai/apis/scorecard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scorecard-ai/scorecard-api/revisions/121aaa257802/schema)
