Are American police allowed to strip search schoolgirls?

Recently the UK police have come under criticism for strip searching a black schoolgirl at a school without her parents knowledge. A few people are a little miffed at this and there's the usual accusations of racism.
Would this be ok in the USA?
https://www.bbc.co.uk/news/uk-england-london-60757031
Are American police allowed to strip search schoolgirls?
Post Opinion