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

---

[API](https://skmtc.net/beis/apis/api-documentation.md) · [All operations](https://skmtc.net/beis/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/beis/api-documentation/versions/f5f4d893b86b/schema)
