---
title: "Create a GPG Key"
method: POST
path: "/gpg-keys"
tags: ["gpg_keys"]
---

# Create a GPG Key

`POST /gpg-keys`

Create a new GPG 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/revisions/fc927526ad12/schema)
