---
title: "Update lines of business on a facility workflow"
method: PATCH
path: "/facility-credentialing-workflows/{workflowId}/line-of-business"
tags: ["FacilityCredentialingWorkflow"]
---

# Update lines of business on a facility workflow

`PATCH /facility-credentialing-workflows/{workflowId}/line-of-business`

Sets the lines of business for the specified facility credentialing workflow. Accepts an array of line-of-business values. To remove all lines of business, send an empty array `[]`. **Valid values include:** `MEDICAID`, `MEDICARE`, `COMMERCIAL`. **When to use:** Update when a facility's participation in health plan lines changes. **Returns:** `200 OK` with the updated workflow.

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Request body

- FacilityLineOfBusinessUpdateRequest — Request to update line of business in facility credentialing workflow. Empty array unsets the field.
  - `lineOfBusiness` string[], required — The line of business array. Empty array removes/unsets the line of business.
  - `reason` string — Reason for the line of business change

## Response `200`

Successfully updated the line of business

- object

## Other responses

- `400` — Invalid request data
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - User does not have required permissions
- `404` — Facility credentialing workflow not found
- `500` — Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/563848e0ecc0/schema)
