Bulk update dashboards Technical Preview

POST /api/streams/{name}/dashboards/_bulk

Bulk update dashboards linked to a stream. Can link new dashboards and delete existing ones.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

application/json

Body

  • operations array[object] Required
    Any of:
    Hide attribute Show attribute
    • index object Required

      Additional properties are NOT allowed.

      Hide index attribute Show index attribute object
      • id string Required
POST /api/streams/{name}/dashboards/_bulk
curl \
 --request POST http://localhost:5622/api/streams/{name}/dashboards/_bulk \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: true" \
 --data '{"operations":[{"index":{"id":"string"}}]}'
Request examples
# Headers
kbn-xsrf: true

# Payload
{
  "operations": [
    {
      "index": {
        "id": "string"
      }
    }
  ]
}