---
title: "Delete 2FA account config (deleteTwoFaAccountConfig)"
method: DELETE
path: "/api/2fa/account/config"
tags: ["two-factor-auth-config-controller"]
---

# Delete 2FA account config (deleteTwoFaAccountConfig)

`DELETE /api/2fa/account/config`

Delete 2FA config for a given 2FA provider type. 
Returns whole account's 2FA settings object.


Available for any authorized user.

## Query parameters

- `providerType` 'TOTP' | 'SMS' | 'EMAIL' | 'BACKUP_CODE', required

## Response `200`

OK

- AccountTwoFaSettings
  - `configs` object

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
