I use Rest API to create a bunch of records users key in.
Sometimes, the subscriber orgs have duplicate rules enabled for the sObjects we use, and since the
DuplicateRuleHeader is missing from REST API the save simply fails.
Since i do not want to create a custom Apex Rest endpoint just to create sObjects, is it possible given a sObject type to find out if duplicate management is enabled for it?
Update I can't use an actual sObject for this, at the decision point all i have is my
Update 2 My users don't have
View Setup and Configuration permission so they can't query