---
title: "PATCH /v1/orgs/{orgId}/byo-provider"
method: PATCH
path: "/v1/orgs/{orgId}/byo-provider"
tags: ["ByoProvider"]
---

# PATCH /v1/orgs/{orgId}/byo-provider

`PATCH /v1/orgs/{orgId}/byo-provider`

Partially updates the organization's own LLM provider. Every field is optional, including `credential`: omit it and the stored one is used. Validation runs against the merged result. Gateway validation only runs when connection details, models, or enabled state require it.

## Path parameters

- `orgId` string, uuid, required

## Headers

- `Authorization` string

## Request body

- object
  - `baseUrl` string — HTTPS gateway base URL ending in /v1, without user information, a query, or a fragment.
  - `credential` string
  - `enabledModels` string[]
  - `featureDefaultModels` object
    - `agent-session` string
    - `eval-scorer` string
    - `review` string
    - `recipe` string
    - `skill-review` string
    - `skill-improve` string
    - `cloud-run-solver` string
  - `enabled` boolean

## Response `200`

Default Response

- object
  - `links` object, required
    - `self` string, uri, required
  - `data` object, required
    - `id` string, uuid, required
    - `type` 'byo-provider', required
    - `attributes` object, required
      - `baseUrl` string, required
      - `enabledModels` string[], required
      - `featureDefaultModels` object, required
        - `agent-session` string
        - `eval-scorer` string
        - `review` string
        - `recipe` string
        - `skill-review` string
        - `skill-improve` string
        - `cloud-run-solver` string
      - `enabled` boolean, required
      - `orgSlug` string, required — Immutable organization slug used as the prefix for composed gateway model names.
      - `updatedAt` string, date-time, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `502` — Bad Gateway

---

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