---
title: "Update Project SSH Key"
method: PATCH
path: "/projects/{project_id}/ssh_keys/{ssh_key_id}"
tags: ["SSH Keys"]
deprecated: true
---

# Update Project SSH Key

`PATCH /projects/{project_id}/ssh_keys/{ssh_key_id}`

> **Deprecated.**

Allow you update SSH Key in a project. These keys can be used to access servers after deploy and reinstall actions.

## Path parameters

- `project_id` string, required
- `ssh_key_id` string, required

## Request body

- object
  - `data` object, required
    - `id` string, required
    - `type` 'ssh_keys', required
    - `attributes` object
      - `tags` string[]
      - `name` string — Name of the SSH Key

## Response `200`

Success

## Changes

> 29 revisions in range; 15 could not be searched.

- **2026-08-12** `f4ae32b3f69d` — 6 info
  - the `id` request property default value `ssh_81EVOtR1N4J2Z` was removed (media type: application/json)
  - the `id` request property default value `ssh_81EVOtR1N4J2Z` was removed (media type: application/vnd.api+json)
  - the `name` request property default value `New SSH Key Name` was removed (media type: application/json)
  - the `name` request property default value `New SSH Key Name` was removed (media type: application/vnd.api+json)
  - …2 more
- **2026-07-21** `885dec47dd47` — 3 info
  - added the optional property `data/attributes/project/stats/databases` to the response with the `200` status
  - added the optional property `data/attributes/project/stats/storages` to the response with the `200` status
  - added the optional property `data/attributes/project/stats/virtual_machines` to the response with the `200` status

[Change history](https://skmtc.dev/latitude/apis/latitude-sh-api/changes/projects/:project_id/ssh_keys/:ssh_key_id/patch.md)

---

[API](https://skmtc.dev/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.dev/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/revisions/c80535f26dd7/schema)
