---
title: "DELETE /api/admin/users/{user_id}/two-factor-auth/"
method: DELETE
path: "/api/admin/users/{user_id}/two-factor-auth/"
tags: ["Admin"]
---

# DELETE /api/admin/users/{user_id}/two-factor-auth/

`DELETE /api/admin/users/{user_id}/two-factor-auth/`

Removes the configured two-factor authentication of the specified user, if the requesting user is staff. This can be used to restore access for users that lost their two-factor device and backup codes. The user will be able to log in with just their password and can configure two-factor authentication again afterwards.

## Path parameters

- `user_id` integer, required

## Response `204`

No response body

## Other responses

- `400`
- `401` — No response body
- `403` — No response body

---

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