---
title: "Replace passkey recovery codes"
method: POST
path: "/user/passkeys/recovery-codes"
tags: ["Passkeys"]
---

# Replace passkey recovery codes

`POST /user/passkeys/recovery-codes`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/user/passkeys/recovery-codes`
- Auth: HTTP bearer

## Response `200`

OK

- PasskeyRecoveryCodes
  - `codes` string[], required

## Changes

- **2026-10-20** `475cad22160a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hephaestus-build/apis/hephaestus-api/changes/user/passkeys/recovery-codes/post.md)

---

[API](https://skmtc.dev/hephaestus-build/apis/hephaestus-api.md) · [All operations](https://skmtc.dev/hephaestus-build/apis/hephaestus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hephaestus-build/apis/hephaestus-api/revisions/3592ab716973?raw)
