Delink a Child Record from a Parent

Delink a Child Record from a Parent

Products can be linked to Deals by the user. Products can also be linked to Deals via Deluge, using the Result= zoho.crm.updateRelatedRecord("Products",Prod_ID, "Deals",Deal_ID,map_variable); and I have this working.
But I can't find any native deluge function that can delink a Product from a Deal.
I found this page: https://www.zoho.com/crm/developer/docs/api/delink-v1.html - a deLink method.
And this page: https://www.zoho.com/crm/developer/docs/api/delink.html - a Delete method that deletes the association between two modules.
My problem is that I don't understand the syntax of getting the oauthtoken and calling these methods from within Deluge, I believe it involves invokeUrl, but that's as far as my knowledge goes.
Can someone point me in the right direction? Or provide a skeleton of the calling code to get the oauthtoken and call the method? all assuming API v2
Thank you very much!