Delete Records

Delete records from the data lake table represented by this resource collection.

You can delete up to 200 records using the delete operation. To delete more than 200 records in a request, use Bulk API. For more information, see Delete operation in Upload a Job.

Note

URI
/api/v1/ingest/sources/{name}/{object-name}
Available since release
Salesforce CDP v1.0, Salesforce v51.0
Formats
JSON
HTTP methods
DELETE
Authentication
Authorization: Bearer access_token
Request body
1curl --location --request DELETE 'https://{instance_url}/api/v1/ingest/sources/{name}/{object-name}?ids=001xx000003DGb2AAG,003xx000004TmiQAAS' \
2--header 'Authorization: Bearer {access_token}'
Request parameters
Parameter Description
name Name of the Ingest API data connector.
object-name Name of the resource type to send to Customer Data Platform.
Response body
1{
2"accepted": true
3}

None. Returns a status code of 202 (Accepted), which indicates that Request was accepted and will be processed asynchronously.