---
title: "Update Jwt Key Mapping"
method: POST
path: "/jwt/key/mapping/update"
tags: ["jwt_mappings"]
---

# Update Jwt Key Mapping

`POST /jwt/key/mapping/update`

## Request body

- UpdateJWTKeyMappingRequest
  - `description` string, nullable
  - `id` string, required
  - `is_active` boolean, nullable
  - `key` string, nullable

## Response `200`

Successful Response

- JWTKeyMappingResponse
  - `created_at` string, date-time, required
  - `created_by` string, nullable
  - `description` string, nullable
  - `id` string, required
  - `is_active` boolean, required
  - `jwt_claim_name` string, required
  - `jwt_claim_value` string, required
  - `updated_at` string, date-time, required
  - `updated_by` string, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `jwt_mappings` added
  - api tag `JWT Key Mapping` removed
- **2026-09-18** `082b5fabd909` — 4 info
  - api tag `JWT Key Mapping` added
  - api tag `jwt_mappings` removed
  - 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

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/jwt/key/mapping/update/post.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/7ed45f30a5f0?raw)
