---
title: "Create a system user's Public SSH Key"
method: POST
path: "/systemusers/{id}/sshkeys"
tags: ["Systemusers"]
---

# Create a system user's Public SSH Key

`POST /systemusers/{id}/sshkeys`

## Request

- Base URL: `https://console.jumpcloud.com/api`
- URL: `https://console.jumpcloud.com/api/systemusers/{id}/sshkeys`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api/docs/systemusers/:id/sshkeys/post.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint will create a specific System User's Public SSH Key.

## Headers

- `x-org-id` string

## Request body

- Sshkeypost
  - `name` string, required: The name of the SSH key.
  - `public_key` string, required: The Public SSH key.

## Response `200`

- Sshkeylist
  - `_id` string: The ID of the SSH key.
  - `create_date` string: The date the SSH key was created.
  - `name` string: The name of the SSH key.
  - `public_key` string: The Public SSH key.

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api/revisions/0762c7d17a26?raw)
