---
title: "DELETE /parties/{partyId}/attachments/{attachmentId}"
method: DELETE
path: "/parties/{partyId}/attachments/{attachmentId}"
tags: ["Attachments"]
---

# DELETE /parties/{partyId}/attachments/{attachmentId}

`DELETE /parties/{partyId}/attachments/{attachmentId}`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/parties/{partyId}/attachments/{attachmentId}`
- Auth: API key in header `Authorization`

Deletes a specified attachment resource under a particular party.

## Path parameters

- `partyId` string, required
- `attachmentId` string, required

## Query parameters

- `api-version` string, required

## Response `204`

No Content

## Other responses

- `default`: Error

## Changes

- **2026-07-13** (2021-03-31-preview) `aae0a90ec457`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/changes/parties/:partyId/attachments/:attachmentId/delete.md)

---

[API](https://skmtc.dev/azure/apis/agrifood-agfoodplatform.md) - [All operations](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/revisions/33cf1de6e0c4?raw)
