---
title: "Create a SSH Key"
method: POST
path: "/ssh-keys"
tags: ["ssh_keys"]
---

# Create a SSH Key

`POST /ssh-keys`

Create a new SSH key.

## Response `201`

Created.

## Other responses

- `403` — User unauthorized to perform action.
- `404` — Relationship resource not found, or user unauthorized to perform action.
- `422` — Malformed request body (missing attributes, wrong types, etc.).
- `4XX` — Client error.
- `5XX` — Server error.

---

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