It is a serious violation of human rights, and is declared to be unacceptable (but not illegal) by Article 5 of the UN Universal Declaration of Human Rights.
Signatories of the Geneva Conventions of 1949 and the Additional Protocols I and II of 8 June 1977 officially agree not to torture captured persons in armed conflicts, whether international or internal.
This definition includes torture as part of domestic violence or ritualistic abuse, as well as in criminal activities.
The Rome Statute is the treaty that set up the International Criminal Court (ICC).
It appears to exclude: For the purpose of this Declaration, torture is defined as the deliberate, systematic or wanton infliction of physical or mental suffering by one or more persons acting alone or on the orders of any authority, to force another person to yield information, to make a confession, or for any other reason.Those who had been "spared" torture were commonly locked barefooted into the stocks, where children took delight in rubbing feces into their hair and mouths.