Skip to content

Enable Mfa

POST /auth/mfa/enable
FieldTypeNotes
codestringrequiredmin length 6 max length 32
StatusDescriptionBody
200Successful ResponseRecoveryCodes
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/enable \
-H "Authorization: Bearer $COBRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"code": "string"
}'
FieldTypeNotes
codesstring[]required—