cURL
curl --request DELETE \ --url https://api.getdecisional.ai/api/v1/data-sources/batch \ --header 'Content-Type: application/json' \ --data '{ "ids": [ "dsc_abc123xyz789", "dsc_abc123xyz790", "dsc_abc123xyz791" ] }'
200
example
[ { "id": "dsc_abc123xyz789", "success": true }, { "id": "dsc_abc123xyz790", "success": false, "error": "data source not found" }, { "id": "dsc_abc123xyz791", "success": true }]
Deletes multiple data sources in a single request
Batch delete results
The response is of type object[].
object[]