Updates user's two-factor authentication settings from server.
user_id required | string <uuid> User ID. You can find it in Publisher Account > your Login project > Users. |
project_id required | string <uuid> Login project ID from Publisher Account. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity
{- "change_restricted": true,
- "enabled": true,
- "mfa_type": "email"
}
{- "error": {
- "code": "003-061",
- "description": "Object not found.",
- "details": { }
}
}