---
title: "Rename Mfa Method"
method: PATCH
path: "/auth/mfa/methods/{method_id}"
tags: ["Auth"]
---

# Rename Mfa Method

`PATCH /auth/mfa/methods/{method_id}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/auth/mfa/methods/{method_id}`
- Auth: HTTP bearer

Rename an active MFA method.

Label-only edit — purely cosmetic so we don't gate on a password
re-auth. 409 on collision with another active method on the same
user; the user picked the new label deliberately so we surface
the clash rather than auto-suffixing.

## Path parameters

- `method_id` integer, required

## Headers

- `API-Version` '1'

## Request body

- MfaMethodRenameRequest: PATCH body for /auth/mfa/methods/{method_id}. Label-only edit. No password re-auth — labels are cosmetic, an attacker who knows my authenticator's name can't escalate.
  - `label` string, required

## Response `200`

Successful Response

- MfaMethodSummary
  - `id` integer, required
  - `type` 'totp' | 'webauthn', required
  - `label` string, required
  - `created_at` string, date-time, required
  - `last_used_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/totalparks/apis/total-parks-public-api.md) · [All operations](https://skmtc.dev/totalparks/apis/total-parks-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/totalparks/apis/total-parks-public-api/revisions/dcb4c822e2c6?raw)
