There are multiple definitions - click on the translation that matches your context.

diminuir

verbo

full

detract

verb

Definitions of detract

English

to say bad things about someone or something in order to reduce their worth, value or status etc

Judges may make speeches as long as they do not detract from the dignity of judicial office.