---
title: "Delete attachment"
method: DELETE
path: "/seller/listings/{id}/attachments"
tags: ["seller-listings"]
---

# Delete attachment

`DELETE /seller/listings/{id}/attachments`

Delete an existing attachment from a seller listing.

Use this endpoint to remove outdated or incorrect listing images.

Validation and ownership:
- Listing must belong to the authenticated seller and be active.
- Attachment `id` must match the expected listing-scoped image URN format.

Deletion behavior:
- Removes the image from storage.
- Deletes the listing attachment association in the database.
- Re-evaluates listing validity after deletion:
  - Listings that require photos (price `>= 2000` or grading metadata) become `valid: false` when no attachments remain.

Response:
- Returns `204 No Content` when deletion completes.

## Path parameters

- `id` string, required — Listing ID

## Request body

- ListingAttachmentDelete — Attachment to delete
  - `id` string, required — Image identifier

## Response `204`

Attachment deleted

## Other responses

- `404` — Listing not found

---

[API](https://skmtc.net/managem/apis/managem-api.md) · [All operations](https://skmtc.net/managem/apis/managem-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/managem/managem-api/versions/6367b514f6ea/schema)
