Confirm a pending TOTP enrollment with a current code.
POST
End-user session operationId: confirm_totp/v1/auth/mfa/totp/verify Authorization
Called from the browser with the publishable application id (x-application-id); the access token lives in memory.
Request body · required
codestring requiredfactor_idstring<uuid> required uuid
Responses
200 TOTP enrolled
422 Incorrect code
Request
curl -X POST "http://localhost:8080/v1/auth/mfa/totp/verify" \
-H "Content-Type: application/json" \
-d '{
"code": "string",
"factor_id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f"
}'Try it
live requestPOST
http://localhost:8080/v1/auth/mfa/totp/verify