Did you mean this comment? create_user_via_api can't be deprecated with the logic as written below because then post-deprecation there would be no config option that affects creating users via the API.