In your case, you may prefer to rent your apartment to a white family rather than a black one. Individuals boycott all the time and have the right to it. Better come up with better arguments, such as "institutional" boycotts, but you will need to put some thought into it first.
Police officer killed, 13 people wounded in car bomb in Turkey's Gaziantep, official says (Reuters)
from the article: 53 theater figures vow not to perform in settlements