I'm unable to use the bulk_delete API on 8.8.2 neither using Kibana Console or curl. Can you give me a working example?
curl -X POST "http://localhost:5601/api/saved_objects/_bulk_delete" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'
[
{
"type": "url",
"id": "6995dc78e1239361610f02309ee9a5fe",
},
{
"type": "dashboard",
"id": "my-dashboard",
}
]
'
gives me {"statusCode":400,"error":"Bad Request","message":"Invalid request payload JSON format"}