---
title: "Add an SSH key to a user account"
method: POST
path: "/ssh_keys"
---

# Add an SSH key to a user account

`POST /ssh_keys`

## Request body

- object
  - `userId` integer, required
  - `name` string, required
  - `publicKey` string, required

## Response `201`

- object

## Other responses

- `401`

---

[API](https://skmtc.dev/virtfusion/apis/virtfusion-global-api.md) · [All operations](https://skmtc.dev/virtfusion/apis/virtfusion-global-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/virtfusion/virtfusion-global-api/revisions/e5fbafe8acde/schema)
