---
title: "Delete attachment for an opportunity"
method: DELETE
path: "/opps/v1/api/{opportunityId}/attachments/{resourceId}"
tags: ["attachments"]
---

# Delete attachment for an opportunity

`DELETE /opps/v1/api/{opportunityId}/attachments/{resourceId}`

Delete attachment for an opportunity.

## Path parameters

- `opportunityId` string, required
- `resourceId` string, required

## Query parameters

- `api_key` string, required
- `deleteAll` string, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- object

## Other responses

- `204` — No Content
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `501` — Not Implemented

---

[API](https://skmtc.net/gsa/apis/gsa-iae-opportunity-modernization.md) · [All operations](https://skmtc.net/gsa/apis/gsa-iae-opportunity-modernization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gsa/gsa-iae-opportunity-modernization/versions/367b50043e66/schema)
