Very sorry for the late response.
Any player that is still under his rookie contract (as in the first 6 years of service time in the majors) can be released as long at the team pays the player for the current season.
Any players under a guaranteed contract can be released as long as the rest of the contract is paid in its entirety. This will only free up a roster spot and will not free up any money.