Skip to main content

Reset RecoveryCodes for MFA

PUT /v2/users/self/credentials/mfa/
v2
PUT
user-reset-recoverycodes

Request

Responses

application/json

Recovery-Codes are reset now. The new Recovery-Codes are in the response body.

  • recoveryCodesListarray of string (≥ 16 characters, ≤ 16 characters)
    required
    • Array[
    • *string (≥ 16 characters, ≤ 16 characters)
    • ]

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"multiFactorCode":"123456"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/users/self/credentials/mfa