Hi @mikecote and thanks for your help here
I started by checking this doc too but it has never worked for me and I couldn't figure out why ...
curl -k -X POST "https://myIP:5601/api/saved_objects/_export" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'
{
"type": "dashboard"
}
'
{"statusCode":400,"error":"Bad Request","message":"child \"attributes\" fails because [\"attributes\" is required]. \"type\" is not allowed","validation":{"source":"payload","keys":["attributes","type"]}}
So I tried :
curl -k -X POST "https://myIP:5601/api/saved_objects/_export" -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d'
{
"attributes": { "type": "dashboard" }
}
'
{"message":"Unsupported saved object type: '_export': Bad Request","statusCode":400,"error":"Bad Request"}