You can use the exclude attribute of @EnableAutoConfiguration for this purpose as shown below:
@EnableAutoConfiguration(exclude = {InterviewBitAutoConfiguration.class})
If the class is not specified on the classpath, we can specify the fully qualified name as value for the excludeName.
//By using "excludeName"
@EnableAutoConfiguration(excludeName={Foo.class})
You can add into the application.properties and multiple classes can be added by keeping it comma separated.