---
title: "Update Opportunity"
method: PATCH
path: "/opps/v1/api/update/{opportunityId}"
tags: ["Opportunity"]
---

# Update Opportunity

`PATCH /opps/v1/api/update/{opportunityId}`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/opps/v1/api/update/{opportunityId}`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization/docs/opps/v1/api/update/:opportunityId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update contract opportunity.

## Path parameters

- `opportunityId` 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
- `412`: Precondition Failed
- `428`: Precondition Required
- `500`: Internal Server Error
- `501`: Not Implemented

---

[API](https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization.md) - [All operations](https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization/llms.txt) - [OpenAPI document](https://skmtc.dev/gsa/apis/gsa-iae-opportunity-modernization/revisions/367b50043e66?raw)
