---
title: "Update an endpoint configuration"
method: PUT
path: "/v1/configurations/{configId}"
tags: ["Configurations"]
---

# Update an endpoint configuration

`PUT /v1/configurations/{configId}`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/configurations/{configId}`
- Auth: HTTP bearer

## Request body

- object
  - `name` string
  - `path` string
  - `category` string
  - `streamEnabled` boolean
  - `modelId` string
  - `modelValue` string
  - `parameters` object[]
    - `key` string
    - `value` string

## Response `200`

Updated configuration

- EndpointConfig
  - `id` string, required
  - `toolId` string, required
  - `name` string, required
  - `category` string, required
  - `path` string, required
  - `format` string, required
  - `streamEnabled` boolean
  - `modelId` string, nullable
  - `modelValue` string, nullable
  - `parameters` object[]
    - `key` string
    - `value` string

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
