function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
louisa barrett 7louisa barrett 7 

Send notification to Own BackUp via API when record is deleted

Hi,

I've never attempted an API link before so was wondering if someone could point me in the right direction of how this is best handled.
We currently use Own BackUp for all Salesforce data and metadata back ups. When a contact is deleted in Salesforce, at the moment I'm manually going into Own BackUp and creating a GDPR Forget request. Own BackUp have an API which allows you to send a forget request ( Forget Record (https://cdn2.hubspot.net/hubfs/2571574/api%20document-1.html#tag/GDPR/paths/~1api~1v1~1services~1{service_id}~1gdpr~1forget/post) ) and I would very much like to automate this when a contact is deleted in SF. I'm used to writing triggers, but have never done anything with APIs. If someone could give me base to start it would be very much appreciated. 

Many thanks