---
title: "Update line of business"
method: PATCH
path: "/credentialing-workflows/{workflowId}/line-of-business"
tags: ["CredentialingWorkflow"]
---

# Update line of business

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

Updates the line of business for a credentialing workflow. Accepts an array of line of business values (e.g., ["MEDICAID", "COMMERCIAL"]). An empty array [] will unset/remove the line of business field. Valid values include MEDICAID, MEDICARE, COMMERCIAL, etc.

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Request body

- UpdateLineOfBusinessRequest — Request to update line of business in 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` — 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/versions/3d27e9019c7b/schema)
