Enforce 2FA

As the system administrator, you can force each user to use 2-factor authentication (2FA).

When the value of force_2fa is 1 in this request, the user will be requested to activate 2FA by scanning a QR code next time they log in. To cancel enforcing them to use 2FA, change the value to 0 and send this request again.

This request is to be distinguished from the next request, because cancelling the enforcement doesn't necesssarily Disable 2FA for A User in System, which serves a different purpose.

Path Params
string
required

The unique user id in the form [email protected]. This is not the email address of the user.

Body Params
boolean
required

Enforce Two Factor for all accounts

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json