---
title: "Changes to Add SSH key to instance"
method: POST
path: "/instances/{id}/add_key"
---

# Changes to Add SSH key to instance

`POST /instances/{id}/add_key`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 21 revisions.

- **2026-09-18** `e6309ce01c8d`: 2 breaking, 1 info

## Changes

- **2026-09-18** `e6309ce01c8d`: 2 breaking, 1 info
  - removed `#/components/schemas/thundertypes.InstanceAddKeyRequest, subschema #1` from the request body `oneOf` list
  - the request's body type changed from no type to `object`
  - added the new optional request property `public_key`

---

[Operation](https://skmtc.dev/thundercompute/apis/thunder-compute-api/docs/instances/:id/add_key/post.md) - [API](https://skmtc.dev/thundercompute/apis/thunder-compute-api.md) - [Page](https://skmtc.dev/thundercompute/apis/thunder-compute-api/changes/instances/:id/add_key/post)
