---
title: "Changes to Detach an SSH key from a rental"
method: POST
path: "/v2/on-demand/rentals/ssh-keys/detach"
---

# Changes to Detach an SSH key from a rental

`POST /v2/on-demand/rentals/ssh-keys/detach`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 32 revisions.

- **2026-10-14** `e5723257832a`: 1 breaking, 1 info
- **2026-10-13** `2783d282fe8e`: 1 info

## Changes

- **2026-10-14** `e5723257832a`: 1 breaking, 1 info
  - removed `subschema #1, subschema #2` from the `rentalId` request property `anyOf` list
  - added `subschema #1, subschema #2` to the `rentalId` request property `anyOf` list
- **2026-10-13** `2783d282fe8e`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/hyperbolic/apis/castle-api/docs/v2/on-demand/rentals/ssh-keys/detach/post.md) - [API](https://skmtc.dev/hyperbolic/apis/castle-api.md) - [Page](https://skmtc.dev/hyperbolic/apis/castle-api/changes/v2/on-demand/rentals/ssh-keys/detach/post)
