POST: Reset 2FA for a User

https://api.bitsighttech.com/ratings/v2/users/user_guid/reset-mfa

If a user has lost access to their authentication mechanism, resetting multi-factor or 2-factor authentication (2FA) allows them to reconfigure 2FA and set up a new mechanism. Use this to reset a user's 2FA.

Only Admin can reset 2FA for users. See user preferences permissions.

Parameters

* Required.

user_guid

* Required.

[Path] Identify the user to reset 2FA.

Value: [String] User unique identifier [user_guid]. See GET: Users.

Example Request

curl -H "Content-Type: application/json" -X POST -i https://api.bitsighttech.com/ratings/v2/users/eeeeeeee-8888-eeee-8888-eeeeeeeeeeee/reset-mfa -u api_token:

Status Codes

200 – Okay
2FA has been reset for the user.
400 – 2FA Disabled
The user already has 2FA disabled.
  • August 25, 2021: Published.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.