I'm trying to use the ACS bulk delete command in ACS but it is not recognizing the where clause. It will using the rest API but not using the sendRequest method. Is this a known bug?
This does not work
Cloud.sendRequest({ url : "photos/batch_delete.json", method : "DELETE", where:{"Category":"States"} }, function(e) { if (e.success) { alert("All Photo objects have been deleted."); } else { alert('Error:\n' + ((e.error && e.message) || JSON.stringify(e))); } });This does
curl -b cookies.txt -c cookies.txt -X DELETE -F "where={\"Category\":\"States\"}" https://api.cloud.appcelerator.com/v1/photos/batch_delete.json?key=mykey