---
title: "Update Without Changing Secrets"
method: PATCH
path: "/api/v1/api-keys/{api_key_id}"
tags: ["API Keys"]
---

# Update Without Changing Secrets

`PATCH /api/v1/api-keys/{api_key_id}`

## Request

- Base URL: `https://api.rebolt.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rebolt.ai/api/v1/api-keys/{api_key_id}`
- Auth: HTTP bearer

## Path parameters

- `api_key_id` string, uuid, required

## Request body

- UpdateAPIKeyRequest
  - `api_key_name` string, required: The name of the API key

## Response `200`

Successful Response

- CommandWasSuccessfulResponse
  - `success` boolean
  - `message` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-14** `6e68f3c2611b`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/rebolt/apis/rebolt-api/changes/api/v1/api-keys/:api_key_id/patch.md)

---

[API](https://skmtc.dev/rebolt/apis/rebolt-api.md) - [All operations](https://skmtc.dev/rebolt/apis/rebolt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rebolt/apis/rebolt-api/revisions/ece6d79b9efa?raw)
