---
title: "Post Activate"
method: POST
path: "/api/auth/totp/activate"
tags: ["2fa"]
---

# Post Activate

`POST /api/auth/totp/activate`

## 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/auth/totp/activate`
- Auth: none declared
- TypeScript: <https://skmtc.dev/chula/apis/chulasso-service/docs/api/auth/totp/activate/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- ActivateInput
  - `totp_id` string, required
  - `code` string, required

## Response `200`

Successful Response

- unknown

## 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)
