Merge Deals by API

I know you can merge deals through Hubspot Page, but is there any way of merging 2 deals by API?

Thanks in advance

The last endpoint listed on this page: Accounts Dashboard | HubSpot