---
title: "Download private key"
method: GET
path: "/ssh_keys/{id}/download_private_key"
tags: ["Ssh Keys"]
---

# Download private key

`GET /ssh_keys/{id}/download_private_key`

## Request

- Base URL: `https://sg.deployhq.com`
- URL: `https://sg.deployhq.com/ssh_keys/{id}/download_private_key`
- Auth: HTTP basic

## Path parameters

- `id` string, required

## Response `200`

OK

- string

## Other responses

- `401`: You are not authorized to access this resource. You need to authenticate yourself first.
- `403`: Forbidden
- `500`: An unexpected error occurred on the server. The server was unable to process the request.

---

[API](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation.md) · [All operations](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/deployhq/apis/deployhq-api-interactive-documentation/revisions/830264ae58be?raw)
