---
title: "Update KV service configuration"
method: PATCH
path: "/kv/update"
tags: ["KV Management"]
---

# Update KV service configuration

`PATCH /kv/update`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/kv/update`
- Auth: HTTP bearer

## Request body

- UpdateKvRequest: Request to update KV service configuration
  - `docker_image` string, nullable: Docker image to use (e.g., "ghcr.io/gotempsh/redis-walg:8-trixie")

## Response `200`

KV service updated

- UpdateKvResponse: Response after updating KV service
  - `message` string, required: Status message
  - `status` KvStatusResponse, required: Current service status
    - `docker_image` string, nullable: Docker image being used
    - `enabled` boolean, required: Whether the KV service is enabled
    - `healthy` boolean, required: Whether the underlying Redis service is healthy
    - `version` string, nullable: Service version
  - `success` boolean, required: Whether the operation succeeded

## Other responses

- `401`: Unauthorized
- `404`: KV service not enabled
- `500`: Internal server error

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/kv/update/patch.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
