Verification
Verify Code
Changed onVerifies a code provided by the user (from Google Authenticator or other method)
post/verification/verify
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/verification/verify
- Auth: API key in cookie jwt
Request body
Example request
{
"user_id": "f20e5948-01ba-4113-b453-db05d8bde3bc",
"code": "123456"
}Response
Code verified successfully
Example response
{
"message": "Verification successful",
"verified": true,
"mfa_enabled": true
}Changes
- ○
endpoint added
- ○