---
title: "update apikey"
method: PUT
path: "/answer/admin/api/api-key"
tags: ["admin"]
---

# update apikey

`PUT /answer/admin/api/api-key`

update apikey

## Request body

- SchemaUpdateAPIKeyReq
  - `description` string, required
  - `id` integer, required

## Response `200`

OK

- HandlerRespBody
  - `code` integer — http code
  - `data` unknown
  - `msg` string — response message
  - `reason` string — reason key

## Changes

- **2026-01-23** `055af553fde1` — 1 info
  - endpoint added
- **2023-12-14** `28f5955e0744` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/apache/apis/apache-answer/changes/answer/admin/api/api-key/put.md)

---

[API](https://skmtc.dev/apache/apis/apache-answer.md) · [All operations](https://skmtc.dev/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/apache/apache-answer/revisions/e9c2980e6571/schema)
