---
title: "Mint Code"
method: POST
path: "/v1/devices/codes"
---

# Mint Code

`POST /v1/devices/codes`

## Request

- Base URL: `https://api.flanner.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flanner.io/v1/devices/codes`
- Auth: none declared

Mint an enrolment code for another of the caller's own machines.

This is what makes the console self-service. A member with one
working install adds the next one themselves, because the machine
they already hold vouches for the request.

## Request body

- object

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flanner/apis/flanner-control-plane.md) · [All operations](https://skmtc.dev/flanner/apis/flanner-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/flanner/apis/flanner-control-plane/revisions/96c571cfab10?raw)
