---
title: "Update attachment to an opportunity"
method: PATCH
path: "/opps/v1/api/{opportunityId}/attachments/{resourceId}"
tags: ["attachments"]
---

# Update attachment to an opportunity

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

Update attachment for an opportunity.

## Path parameters

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

## Query parameters

- `api_key` string, required

## Headers

- `Authorization` string, required

## Request body

- string

## 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)
