---
title: "Create SFTP Host Key"
method: POST
path: "/sftp_host_keys"
tags: ["sftp_host_keys", "SFTP Host Keys"]
---

# Create SFTP Host Key

`POST /sftp_host_keys`

Create SFTP Host Key

## Response `201`

The SftpHostKeys object.

- SftpHostKeyEntity — SftpHostKeyEntity model
  - `id` integer — SFTP Host Key ID
  - `name` string — The friendly name of this SFTP Host Key.
  - `fingerprint_md5` string — MD5 Fingerprint of the public key
  - `fingerprint_sha256` string — SHA256 Fingerprint of the public key

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `409` — Conflict
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests

---

[API](https://skmtc.net/files/apis/files-com-api.md) · [All operations](https://skmtc.net/files/apis/files-com-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/files/files-com-api/revisions/c6d6f57e6da8/schema)
