---
title: "Activate"
method: POST
path: "/security/2fa/activate"
tags: ["security"]
---

# Activate

`POST /security/2fa/activate`

## Request body

- ActivateRequest
  - `code` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-16** `83ac8f547df8` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-09** `0f647fa78ebf` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/monni/apis/fastapi/changes/security/2fa/activate/post.md)

---

[API](https://skmtc.dev/monni/apis/fastapi.md) · [All operations](https://skmtc.dev/monni/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/monni/apis/fastapi/revisions/2ec565e413a7?raw)
