---
title: "Resets the 2FA device for an operator user by account and user id"
method: PATCH
path: "/v1.0/operator-users/account/{accountId}/{userId}/reset-2fa"
tags: ["Operator Users"]
---

# Resets the 2FA device for an operator user by account and user id

`PATCH /v1.0/operator-users/account/{accountId}/{userId}/reset-2fa`

## Path parameters

- `accountId` integer, required
- `userId` string, required

## Response `200`

OK

- OperatorUserDTO
  - `email` string, required
  - `firstName` string, required
  - `lastName` string, required
  - `phoneNumber` PhoneNumberDTO
    - `countryCode` string
    - `number` string
  - `mobileNumber` PhoneNumberDTO
    - `countryCode` string
    - `number` string

## Other responses

- `400` — Bad Request Error Code | Description AUTHORITY1004 | User is not related to account
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2024-10-21** `a06468704cbe` — 2 warning
  - removed the optional property `status` from the response with the `200` status
  - removed the optional property `termsVersion` from the response with the `200` status

[Change history](https://skmtc.dev/beis/apis/api-documentation/changes/v1.0/operator-users/account/:accountId/:userId/reset-2fa/patch.md)

---

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