Enable MFA
Enables multi-factor authentication for the authenticated user by verifying a TOTP code.
POST
/api/users/mfa/enableBody
mfa_codestringrequiredRequest
curl
curl -X POST https://platform.trickest.com/api/users/mfa/enable \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200MFA enabled successfully
successboolean400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring