Reset Users TOTP
Reset 2FA via TOTP for a user in the workspace.
It requires the edit-other-user-totp permission.
It requires two-factor authentication.
HTTP Method | URL | Requires Auth |
---|---|---|
|
|
Body Parameters
Key | Example Value | Description |
---|---|---|
|
| The |
Example Call
Example Response
Error
Any of the following errors can occur:
Authorization: Requires an authentication token for the request to be made.
No Permission: This occurs when the authenticated user doesn't have the
edit-other-user-totp
permission.Invalid User: This occurs when the
userId
orusername
in the body is invalid.TOTP Required: Requires two-factor authentication for the request to be made.
Invalid TOTP: Requires a valid two-factor authentication code.
Change Log
Version | Description |
---|---|
3.6.0 | Added |
Last updated