---
title: "Create a one-use reauthentication nonce for a security action"
method: POST
path: "/auth/security/challenge"
tags: ["auth"]
---

# Create a one-use reauthentication nonce for a security action

`POST /auth/security/challenge`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/auth/security/challenge`
- Auth: HTTP bearer

## Request body

- SecurityChallengeDto
  - `action` 'change_password' | 'mfa_enrollment', required

## Response `200`

---

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