# Disable 2FA | Copenhagen Truck Wash API

### Copenhagen Truck Wash API Help

# Disable 2FA

This endpoint documentation is generated directly from `openapi.yaml`.

## Endpoint

POST /auth/2fa/disable

## Operation

Operation ID: `disable2fa`

Verify a code and disable 2FA for the authenticated user/subuser

## Authentication

Security requirements:

Scheme | Scopes
--- | ---
BearerAuth | -

## Request Body

Required: yes.

Content type: `application/json`

{ "properties": { "code": { "description": "The 6-digit TOTP code", "type": "string" } }, "required": [ "code" ], "type": "object" }

## Responses

Status | Description | Content Types
--- | --- | ---
200 | 2FA disabled successfully | application/json
400 |  |
401 |  |

Schema for response `200` (`application/json`):

{}
17 March 2026