---
title: "Resets the 2FA device for the user of type REGULATOR that corresponds to the provided user id"
method: POST
path: "/v1.0/regulator-users/{userId}/reset-2fa"
tags: ["Regulator Users"]
---

# Resets the 2FA device for the user of type REGULATOR that corresponds to the provided user id

`POST /v1.0/regulator-users/{userId}/reset-2fa`

## Path parameters

- `userId` string, required

## Response `200`

OK

- RegulatorUserUpdateDTO
  - `user` RegulatorUserDTO, required
    - `email` string, required
    - `firstName` string, required
    - `lastName` string, required
    - `jobTitle` string, required
    - `phoneNumber` string, required
    - `mobileNumber` string
    - `signature` FileInfoDTO
      - `name` string
      - `uuid` string
  - `permissions` object, required

## Other responses

- `400` — Bad Request Error Code | Description AUTHORITY1003 | User is not related to competent authority
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2025-11-18** `75eb25c6c016` — 3 warning
  - removed the optional property `security` from the response with the `400` status
  - removed the optional property `security` from the response with the `403` status
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 2 warning, 3 info
  - removed the optional property `user/status` from the response with the `200` status
  - removed the optional property `user/termsVersion` from the response with the `200` status
  - added the optional property `security` to the response with the `400` status
  - added the optional property `security` to the response with the `403` status
  - …1 more

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/regulator-users/:userId/reset-2fa/post.md)

---

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