---
title: "Update the password for this account in the KMS"
method: PUT
path: "/keys/{name}"
tags: ["ICS1"]
---

# Update the password for this account in the KMS

`PUT /keys/{name}`

## Request body

- object
  - `new_password` string, required
  - `old_password` string, required

## Response `200`

Updated password

## Other responses

- `401` — Key password is wrong
- `404` — Key doesn't exist

---

[API](https://skmtc.net/bnb-chain/apis/gaia-lite-for-cosmos.md) · [All operations](https://skmtc.net/bnb-chain/apis/gaia-lite-for-cosmos/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bnb-chain/gaia-lite-for-cosmos/revisions/66846564e1ee/schema)
