Auth

Rename Mfa Method

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.

patch/auth/mfa/methods/{method_id}

Request

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

Path parameters

method_idinteger required

Headers

API-Version'1'

Major API version. Omit or send 1 for the current v1 surface. Retired operations use RFC 9745 Deprecation and RFC 8594 Sunset headers.

Request body

labelstring required

Response

Successful Response

idinteger required
type'totp' | 'webauthn' required
labelstring required
created_atstring date-time required
last_used_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.