Skip to content

Verify Mfa

POST /auth/mfa-verify
FieldTypeNotes
challenge_tokenstringrequiredmin length 16 max length 4096
codestringrequiredmin length 6 max length 32
StatusDescriptionBody
200Successful ResponseTokenPair
422Validation ErrorHTTPValidationError

The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.

Terminal window
curl -X POST https://your-deployment.example.com/auth/mfa-verify \
-H "Content-Type: application/json" \
-d '{
"challenge_token": "string",
"code": "string"
}'
FieldTypeNotes
access_tokenstringrequired—
refresh_tokenstringrequired—
token_typestringoptionalDefault "bearer".
expires_inintegerrequired—
principalPrincipalViewrequired—