Hello @Mr_Billionaire_Ravi
Welcome to Dhan Community!
You can refer to below method to reverse position via Webhooks.