---
title: "Create SSH Key"
method: POST
path: "/projects/{project_id}/ssh_keys"
tags: ["SSH Keys"]
deprecated: true
---

# Create SSH Key

`POST /projects/{project_id}/ssh_keys`

> **Deprecated.**

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

## Path parameters

- `project_id` string, required

## Request body

- object
  - `data` object, required
    - `type` 'ssh_keys', required
    - `attributes` object
      - `name` string, required — Name of the SSH Key
      - `public_key` string, required — SSH Public Key

## Response `201`

Created

---

[API](https://skmtc.net/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.net/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/versions/7302d79e39bb/schema)
