---
title: "Turn two-step off with a current code (p19,"
method: POST
path: "/auth/two-step/off"
tags: ["Auth"]
---

# Turn two-step off with a current code (p19,

`POST /auth/two-step/off`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/auth/two-step/off`
- Auth: HTTP bearer

Needs the signed-in person (no API key) and a current authenticator code not used before. A wrong or used code is 422 TWO_STEP_CODE_WRONG and counts on the account lock (401 TWO_STEP_LOCKED once locked). Removes the authenticator and every recovery code and revokes every trusted browser. 409 TWO_STEP_NOT_ON when it is already off. Behind the two-step rate limit.

## Request body

- object
  - `code` string, required

## Response `200`

Two-step is off

- object
  - `success` true, required
  - `data` object, required
    - `enabled` false, required
    - `recoveryCodesLeft` unknown, required

## Other responses

- `401`: Authentication required
- `409`: Request conflicts with the durable onboarding state
- `422`: Request failed validation
- `503`: Required sandbox provider configuration or service is unavailable

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/auth/two-step/off/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
