---
title: "DELETE /api/user/2fa/methods/{method}"
method: DELETE
path: "/api/user/2fa/methods/{method}"
tags: ["user"]
---

# DELETE /api/user/2fa/methods/{method}

`DELETE /api/user/2fa/methods/{method}`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - API key in cookie `sessionid`

Rename or remove one app or key.

Removing the last one turns two-factor off and deletes the recovery
codes.

## Path parameters

- `method` string, required

## Response `204`

No response body

## Other responses

- `400`
- `401`
- `404`
- `405`
- `406`
- `415`
- `429`
- `500`

## Changes

- **2026-11-13** `7aaa5406d62c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/changes/api/user/2fa/methods/:method/delete.md)

---

[API](https://skmtc.dev/frikanalen/apis/frikanalen-django-api.md) - [All operations](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/llms.txt) - [OpenAPI document](https://skmtc.dev/frikanalen/apis/frikanalen-django-api/revisions/ebd4175e41fe?raw)
