Delete Records

Delete records from the data lake table.

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

Note

URI
/api/v1/ingest/sources/{name}/{object-name}
Available since release
Data Cloud 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 object configured in Ingest API data connector for payload.
Response body
1{
2"accepted": true
3}

Returns a status code of 202 (Accepted), which indicates that the request is accepted and it gets processed asynchronously.