---
title: "Update"
method: PUT
path: "/organization-external-providers/v1/{id}/{version}"
tags: ["v1"]
---

# Update

`PUT /organization-external-providers/v1/{id}/{version}`

Updates an organization external provider. The path must contain the next version number to prevent race conditions. For example, if the current version of the provider is n, you will need to send a request to this endpoint with `/{id}/n+1` to update the provider. Updating historic versions is not supported. BadRequestError is returned when the NPI is already in use by another provider.

## Path parameters

- `id` V1OrganizationExternalProviderId, required — unresolved $ref
- `version` string, required

## Headers

- `Authorization` string, required

## Request body

- V1MutableOrganizationExternalProvider — unresolved $ref

## Response `200`

Response with status 200

- V1OrganizationExternalProvider — unresolved $ref

## Other responses

- `400` — Error response with status 400
- `404` — Error response with status 404
- `409` — Error response with status 409

---

[API](https://skmtc.net/joincandidhealth/apis/api-reference.md) · [All operations](https://skmtc.net/joincandidhealth/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/joincandidhealth/api-reference/revisions/7cc5974e4128/schema)
