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

- **2026-06-08** `3dee1906f107` — 1 info
  - added the optional property `lastLoginDate` to the response with the `200` status
- **2025-11-18** `75eb25c6c016` — 4 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 `404` status
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 2 warning, 4 info
  - removed the optional property `status` from the response with the `200` status
  - removed the optional property `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
  - …2 more

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/operator-users/account/:accountId/:userId/reset-2fa/patch.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)
