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
Praetorian65Praetorian65 

Deleting a custom object record via the api

I am having trouble deleting a record via the API. I am setting the ID, IsDeleted and IsDeletedSpecified fields and the running update but it tells me that I dont have the right permissions to access those fields. The account I am using is using the system administrator profile and is also the owner of all the records of this custom object. I can't find any settings anywhere that appear relevent to this issue. I have raised a support case but I don't hold much hope for a reply.
SuperfellSuperfell
you delete records using the delete operation, not by updating isDeleted