WASHINGTON — The Supreme Court said on Monday that it would not hear a closely watched case on whether cities can make it a crime for homeless people to sleep outdoors.

The case was brought by six people in Boise, Idaho, who said a pair of local laws violated the Eighth Amendment’s prohibition of cruel and unusual punishment. One prohibited “camping” in streets, parks and other public property. The other prohibited “lodging or sleeping” in any place, whether public or private, without the owner’s permission.

A three-judge panel of the United States Court of Appeals for the Ninth Circuit, in San Francisco, ruled for the plaintiffs and struck down the laws, saying the Constitution does not allow prosecuting people for sleeping outdoors if there is no shelter available.

The Supreme Court typically understands the Eighth Amendment to address acceptable punishments rather than what conduct can be made criminal. But in 1962, it struck down a California law that made being a drug addict a crime on Eighth Amendment grounds.