Manage multi-factor authentication
POST /user/mfa
POST
/user/mfa
Activate or deactivate multi-factor authentication for the authenticated user
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”TOTP verification code and MFA activation settings
Request to activate or deactivate multi-factor authentication
object
code
required
Verification code from the authenticator app when activating MFA
string
Example
123456 activeMfaType
Type of MFA to activate. Use empty string to disable MFA.
string
Example
totpResponses
Section titled “ Responses ”MFA status successfully updated
string
default
Section titled “default ”An error occurred while processing the request
Standardized error response
object
status
required
HTTP status error code
integer
Example
400 message
required
Human-friendly error message
string
Example
Invalid email format error
required
Error code identifying the specific application error
string