---
title: "Disable 2Fa"
method: POST
path: "/auth/2fa/disable"
tags: ["internal"]
---

# Disable 2Fa

`POST /auth/2fa/disable`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/auth/2fa/disable`
- Auth: HTTP bearer

Disable 2FA.

Requires a valid TOTP code or recovery code.

## Request body

- TwoFactorVerifyRequest: Request to verify 2FA setup or code.
  - `code` string, required

## Response `200`

Successful Response

- AppRoutersAuthVerifyEmailResponse
  - `success` boolean, required
  - `message` string, required
  - `access_token` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
