Delete Records
Delete records from the data lake table.
- 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. ids The primary keys of the object. ids can be supplied via query parameters or through the request body. 1{ 2 "ids": [ 3 "001xx000003DGb2AAG" 4 ] 5} - 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.