Zum Hauptinhalt springen
Version: API v1

Reset the recovery codes for your multi factor authentication

PUT/mfa/
v1
PUT
resetRecoveryCodes

Request

Responses

application/json

The old recovery codes have been deactivated and new ones have been generated.

  • 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/v1/mfa