---
title: "Turn a single line of business within a program on or off (admin)"
method: PUT
path: "/broker/market-access/program-line"
tags: ["Market access"]
---

# Turn a single line of business within a program on or off (admin)

`PUT /broker/market-access/program-line`

## Request

- Base URL: `https://api.hedgespecialty.com/api/v1`
- URL: `https://api.hedgespecialty.com/api/v1/broker/market-access/program-line`
- Auth: OAuth 2
  - Authorization code: `https://api.hedgespecialty.com/api/v1/oauth/authorize`
  - Client credentials
  - Token URL: `https://api.hedgespecialty.com/api/v1/oauth/token`

Toggles one line the program lists (see the program's lines in GET /broker/market-access). Turning off every line a program lists is equivalent to turning the program off.

## Request body

- object
  - `program_id` string, uuid, required
  - `lob_slug` string, required: Canonical line-of-business slug
  - `enabled` boolean, required

## Response `200`

The refreshed market-access table

## Other responses

- `403`: Admin role required
- `404`: Line not listed by this program

---

[API](https://skmtc.dev/hedgespecialty/apis/hedge-submission-api.md) - [All operations](https://skmtc.dev/hedgespecialty/apis/hedge-submission-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hedgespecialty/apis/hedge-submission-api/revisions/beefa9cdc11c?raw)
