---
title: "Activate 2FA for user"
method: POST
path: "/user/2fa/activate"
tags: ["Users"]
---

# Activate 2FA for user

`POST /user/2fa/activate`

Organization users will be able to access this endpoint only if their organization has sso flow disabled.

Requires additional `Basic` authorization. Check [Authentication section](#section/Setup/Authentication) for the details.

## Request body

- object
  - `user` object, required
    - `otp_attempt` integer, required — The token provided in reset password email.

## Response `204`

No Content

## Other responses

- `401` — Unauthorized
- `422` — Unprocessable Content

---

[API](https://skmtc.dev/kisi/apis/kisi-api.md) · [All operations](https://skmtc.dev/kisi/apis/kisi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kisi/kisi-api/revisions/998700ffff5a/schema)
