---
title: "Reset 2Fa"
method: POST
path: "/api/admin/users/{username}/reset-2fa"
tags: ["admin"]
---

# Reset 2Fa

`POST /api/admin/users/{username}/reset-2fa`

## Request

- Base URL: `https://account.it.chula.ac.th` (the document declares no server; this is the origin it was published from)
- URL: `https://account.it.chula.ac.th/api/admin/users/{username}/reset-2fa`
- Auth: none declared
- TypeScript: <https://skmtc.dev/chula/apis/chulasso-service/docs/api/admin/users/:username/reset-2fa/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `username` string, required

## Request body

- Reset2FAIn
  - `reason` string

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/chula/apis/chulasso-service.md) - [All operations](https://skmtc.dev/chula/apis/chulasso-service/llms.txt) - [OpenAPI document](https://skmtc.dev/chula/apis/chulasso-service/revisions/54e1f2ec6532?raw)
