---
title: "Update option by key"
method: PUT
path: "/api/option/{key}"
tags: ["option"]
---

# Update option by key

`PUT /api/option/{key}`

Updates a single option by key

## Path parameters

- `key` string, required

## Request body

- string

## Response `200`

OK

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

---

[API](https://skmtc.net/labring/apis/ai-proxy-swagger-api.md) · [All operations](https://skmtc.net/labring/apis/ai-proxy-swagger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/ai-proxy-swagger-api/versions/e471487f2a2f/schema)
