Update a user's MFA
PUT/api/v4/users/:user_id/mfa
Activates multi-factor authentication for the user if activate is true and a valid code is provided. If activate is false, then code is not required and multi-factor authentication is disabled for the user.
Permissions
Must be logged in as the user being updated or have the edit_other_users permission.
Request
Responses
- 200
- 400
- 401
- 403
- 501
User MFA update successful
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
Feature is disabled