This depends on site settings. Some sites allow changing visibility after creation, while others don’t.