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.

[Required authorization] Route required privileges: manage_stream.

Headers

  • kbn-xsrf string Required

    A required header to protect against CSRF attacks

Path parameters

application/json

Body

  • operations array[object] Required
    Any of:
POST /api/streams/{name}/dashboards/_bulk
curl \
 --request POST 'https://localhost:5601/api/streams/{name}/dashboards/_bulk' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "kbn-xsrf: true" \
 --data '{"operations":[{"index":{"id":"string"}}]}'