Cancel open orders after TP or SL filled

I’m trying to cancel SL when TP is filled and vice versa. I use API python-binance client_futures. Does anybody can help me?

Consult this post regarding TP/SL: How to implement OTOCO(TP/SL) orders using API