---
title: "Changes to Update a SSH key"
method: PUT
path: "/users/{selected_user}/ssh-keys/{key_id}"
---

# Changes to Update a SSH key

`PUT /users/{selected_user}/ssh-keys/{key_id}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 15 revisions.

- **2026-07-13** `d344164ecb11`: 2 warning, 6 info

## Changes

- **2026-07-13** `d344164ecb11`: 2 warning, 6 info
  - removed the request property `allOf[subschema #2: SSH Account Key]/owner/allOf[subschema #2: Account]/username`
  - removed the optional property `allOf[subschema #2: SSH Account Key]/owner/allOf[subschema #2: Account]/username` from the response with the `200` status
  - api tag `SSH` added
  - api tag `Ssh` removed
  - added the new optional request property `allOf[subschema #2: SSH Account Key]/expires_on`
  - added the new optional request property `allOf[subschema #2: SSH Account Key]/fingerprint`
  - added the optional property `allOf[subschema #2: SSH Account Key]/expires_on` to the response with the `200` status
  - added the optional property `allOf[subschema #2: SSH Account Key]/fingerprint` to the response with the `200` status

---

[Operation](https://skmtc.dev/atlassian/apis/bitbucket-api/docs/users/:selected_user/ssh-keys/:key_id/put.md) - [API](https://skmtc.dev/atlassian/apis/bitbucket-api.md) - [Page](https://skmtc.dev/atlassian/apis/bitbucket-api/changes/users/:selected_user/ssh-keys/:key_id/put)
