---
title: "PUT /api/v1/providers/{providerId}"
method: PUT
path: "/api/v1/providers/{providerId}"
tags: ["Providers"]
---

# PUT /api/v1/providers/{providerId}

`PUT /api/v1/providers/{providerId}`

## Path parameters

- `providerId` string, required

## Request body

- object
  - `apiKey` string
  - `baseUrl` string, nullable
  - `enabled` boolean
  - `displayName` string
  - `modelsJson` string

## Response `200`

Updated provider

- object
  - `provider` object, required
    - `id` string, required
    - `providerId` string, required
    - `displayName` string, nullable, required
    - `enabled` boolean, required
    - `baseUrl` string, nullable, required
    - `hasApiKey` boolean, required
    - `modelsJson` string, nullable, required
    - `createdAt` string
    - `updatedAt` string

## Other responses

- `201` — Created provider

## Changes

- **2026-03-19** `239b3cc94d80` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nexu-io/apis/nexu-controller-api/changes/api/v1/providers/:providerId/put.md)

---

[API](https://skmtc.dev/nexu-io/apis/nexu-controller-api.md) · [All operations](https://skmtc.dev/nexu-io/apis/nexu-controller-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nexu-io/apis/nexu-controller-api/revisions/fecc80c70f2c?raw)
