Remove the rear wheel.
Disconnect the brake hose from the wheel cylinder and plug the hose inlet.
After unscrewing the two mounting bolts, remove the caliper.
Reinstall the caliper with the air outlet pointing up and bleed the hydraulic drive system to remove air.