---
title: "update a key value"
method: PUT
path: "/v1/{project}/kie/kv/{kv_id}"
---

# update a key value

`PUT /v1/{project}/kie/kv/{kv_id}`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/{project}/kie/kv/{kv_id}`
- Auth: none declared. Required headers: `Content-Type`

## Path parameters

- `project` string, required
- `kv_id` string, required

## Headers

- `Content-Type` string, required

## Request body

- V1KVUpdateBody
  - `status` string
  - `value` string

## Response `200`

OK

- DocResponseSingleKey
  - `create_revision` integer
  - `create_time` string
  - `id` string
  - `key` string
  - `label_format` string
  - `labels` object
  - `update_revision` integer
  - `update_time` string
  - `value` string
  - `value_type` string

## Changes

- **2020-02-10** `09d438be0630`: 1 warning
  - deleted the `header` request parameter `Content-Type`

[Operation history](https://skmtc.dev/apache/apis/servicecomb-kie/changes/v1/:project/kie/kv/:kv_id/put.md)

---

[API](https://skmtc.dev/apache/apis/servicecomb-kie.md) - [All operations](https://skmtc.dev/apache/apis/servicecomb-kie/llms.txt) - [OpenAPI document](https://skmtc.dev/apache/apis/servicecomb-kie/revisions/d0a1fffb33de?raw)
