---
title: "Enable 2Fa"
method: POST
path: "/token/enable_2fa"
tags: ["token"]
---

# Enable 2Fa

`POST /token/enable_2fa`

Flow A: opt-in. Verify TOTP and flip two_fa_enabled=True for an already-logged-in user.
The forced-setup equivalent lives in /verify_2fa (scope=2fa_setup_required).

## Cookies

- `access_token` string, nullable

## Request body

- Verify2FARequest
  - `token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rowansci/apis/eyrie.md) · [All operations](https://skmtc.dev/rowansci/apis/eyrie/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rowansci/eyrie/revisions/f786577eede6/schema)
