Verify 2FA Code
POST
/auth/two_factor/verify
Verifies code for login, setup, or remove action.
Authorizations
SessionAuth
Session ID for authenticated requests
Type
API Key (header: X-Session-ID)
Request Body
application/json
JSON "code": "string", "method": "string", "action": "string"
{
}
Responses
Verification successful
application/json
JSON "success": true, "message": "string", "user": { "id": "string", "email": "string", "name": "string", "two_factor": 0 }
{
}