- Getting Started
- Authentication
- Common Error Responses
- Filtering Data
- Authentication
- Targets
- Scans
- Reports
- Vulnerabilities
- Exceptions
- Schedules
- Webhooks
- Advanced Reports
- Audit
- Notifications
- Hosts
- Scanners
- Port Lists
- User
- User 2FA
- User Preferences
- Get current userGET
- Update current userPUT
- Change current user passwordPUT
- Get current user active plans (Not implemented yet)GET
- Get organization membersGET
- Get current user productsGET
- Get current organizationGET
- Update current organizationPUT
- Get subscriptions historyGET
- Change users productPUT
- Checks if authorization token is validGET
- Get current user permissionsGET
- Check if the user can be deletedGET
- Delete my accountDELETE
- Generates a new access tokenPUT
- Revokes the current access tokenPUT
- (Admin) Transfers all the resources from the user to another userPUT
- Organizations
- Users
- Whitelabel Settings
Verify 2FA installation
PUT
/v2/user/mfa/verify_installation
User/User 2FA
Last modified:2025-04-24 10:59:46
Once the user initiates 2FA enablement and receives a verification code (via SMS OTP or TOTP),
this endpoint serves to validate the successful installation of the chosen 2FA method.
Successful verification ensures a secure and accurate integration of 2FA for enhanced account security.
Request
Query Params
method
enum<string>Â
required
Allowed values:
smstotp
otp_attempt
stringÂ
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT '/v2/user/mfa/verify_installation?method&otp_attempt'
Responses
🟢200OK
application/json
Body
object {0}
Examples
{
"status": "verified"
}
🟠401Unauthorized
🟠422Parameter Error
Modified at 2025-04-24 10:59:46