> ## Documentation Index
> Fetch the complete documentation index at: https://orchestrator-docs.hexoforge.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify TOTP setup

> Confirm TOTP after setup.

Confirms TOTP registration with a code from the authenticator. Requires `X-API-Key` and **Bearer** access token.

<Info>
  Send both `X-API-Key` and `Authorization: Bearer`.
</Info>

## Request body

<ParamField body="code" type="string" required>
  Six-digit TOTP code.
</ParamField>

## Response

**204 No Content** — empty body.

## Status codes

| Code | Meaning                                  |
| ---- | ---------------------------------------- |
| 204  | TOTP enabled                             |
| 400  | No pending setup or TOTP already enabled |
| 401  | Invalid code or token                    |
