getRequestForCollectionDelete

open fun getRequestForCollectionDelete(apiVersion: String, allOrNone: Boolean, objectIds: List<String>): RestRequest

Request for deleting multiple records with fewer round trips

Parameters

apiVersion

Salesforce API version.

allOrNone

Indicates whether to roll back the entire request when the delete of any object fails (true) or to continue with the independent delete of other objects in the request.

objectIds

List of Salesforce IDs of the records to delete.

See also

<a href="https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections_delete.htm">https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_composite_sobjects_collections_delete.htm</a>