---
title: "Disable two factor auth"
method: POST
path: "/api/v1/users/{id}/two-factor/disable"
tags: ["Users"]
---

# Disable two factor auth

`POST /api/v1/users/{id}/two-factor/disable`

Disable two factor authentication of a user

## Path parameters

- `id` integer, required

## Request body

- object
  - `currentPassword` string — Password of the currently authenticated user

## Response `204`

successful operation

## Other responses

- `403` — invalid password
- `404` — user not found

---

[API](https://skmtc.net/cpy/apis/peertube.md) · [All operations](https://skmtc.net/cpy/apis/peertube/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpy/peertube/versions/efe11b159e43/schema)
