---
title: "Update option"
method: PUT
path: "/api/option/"
tags: ["option"]
---

# Update option

`PUT /api/option/`

Updates a single option

## Request body

- ModelOption
  - `key` string
  - `value` string

## Response `200`

OK

- MiddlewareAPIResponse
  - `data` unknown
  - `message` string
  - `success` boolean

## Changes

- **2025-05-23** `eb3d08e71881` — 1 info
  - endpoint added
- **2025-05-23** `544096a3f194` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/changes/api/option/put.md)

---

[API](https://skmtc.dev/labring/apis/ai-proxy-swagger-api.md) · [All operations](https://skmtc.dev/labring/apis/ai-proxy-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/labring/ai-proxy-swagger-api/revisions/696faf563b42/schema)
