Skip to main content

Confirm Multi Factor Authentication

POST/users/self/credentials/mfa/
v2
POST
user-confirm-mfa

Request

Responses

application/json

Mfa is now activated and 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 POST \
-d '{"multiFactorCode":"123456"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/users/self/credentials/mfa