---
title: "Delete the two factor authentication"
method: PATCH
path: "/v1.0/users/security-setup/2fa/delete"
tags: ["Users Security Setup"]
---

# Delete the two factor authentication

`PATCH /v1.0/users/security-setup/2fa/delete`

## Request body

- TokenDTO — The change 2FA token
  - `token` string, required

## Response `204`

No Content

## Other responses

- `400` — Bad Request Error Code | Description TOKEN1001 | Invalid Token EMAIL1001 | The verification link has expired USER1005 | User not exist FORM1001 | Form validation failed
- `500` — Internal Server Error

## Changes

> 17 revisions in range; 2 could not be searched.

- **2025-11-18** `75eb25c6c016` — 2 warning
  - removed the optional property `security` from the response with the `400` status
  - removed the optional property `security` from the response with the `500` status
- **2025-07-17** `ae162f3b8695` — 2 info
  - added the optional property `security` to the response with the `400` status
  - added the optional property `security` to the response with the `500` status

[Change history](https://skmtc.dev/beis/apis/mets-api-documentation/changes/v1.0/users/security-setup/2fa/delete/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)
