---
title: "Bulk update insurance payors"
method: PUT
path: "/insurancePayors/bulk"
tags: ["insurancePayors"]
---

# Bulk update insurance payors

`PUT /insurancePayors/bulk`

## Request

- Base URL: `https://api.lumahealth.io/api/v2`
- URL: `https://api.lumahealth.io/api/v2/insurancePayors/bulk`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lumahealth/apis/rest-service/docs/insurancePayors/bulk/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates a set of payors matched by id, optionally patching a single `externalIdentifiers` entry (matched by `source`) plus top-level `source`/`isHiddenFromPatients`.

## Request body

- object
  - `ids` string[], required: IDs of the payors to update.
  - `externalIdentifiers` object[]
    - `source` string
    - `value` string
    - `status` string
    - `pin` string
  - `source` string
  - `isHiddenFromPatients` boolean

## Response `200`

Result of the bulk update

- object

## Other responses

- `401`: Not authenticated
- `403`: Access token does not have the required scope

---

[API](https://skmtc.dev/lumahealth/apis/rest-service.md) - [All operations](https://skmtc.dev/lumahealth/apis/rest-service/llms.txt) - [OpenAPI document](https://skmtc.dev/lumahealth/apis/rest-service/revisions/f19aeba84a26?raw)
