You need to sign in to do that
Don't have an account?
sf.ax1637
Deleting object instances using REST
The documentation for deleting custom objects implies that no field name can be specified for the key. I understand that the key field must be unique but I've defined a unique, no duplicates, index field and would like to use that.
Someone else has mentioned that its necessary to query on my key, get tha object back, extract its system defined key and issue a delete on that key's value.
This strikes me as wasteful and cumbersome so can anyone confirm or shed more light on this please?
Thanks.
Someone else has mentioned that its necessary to query on my key, get tha object back, extract its system defined key and issue a delete on that key's value.
This strikes me as wasteful and cumbersome so can anyone confirm or shed more light on this please?
Thanks.
Shashank (Salesforce Developers)
I'm afraid this is the only way as per existing REST API functionality.