Ask the Community
Groups
Tip: Example using dashboard web services - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong><strong>QUESTION:</strong></strong></p> <p>Provide examples of using dashboard web services</p> <p> </p> <p><strong><strong>RESOLUTION:</strong></strong></p> <p><strong><strong>Listing dashboards</strong></strong></p> <pre class="code codeBlock" spellcheck="false" tabindex="0">#!/bin/bash curl -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{ "username":"your_user_name", "password":"your_password" }' <a href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Ftraverse_server%2Fapi%2Fjson%2Fdashboard%2FgetDashboards">https://traverse_server/api/json/dashboard/getDashboards</a></pre> <p><strong>Delete a dashboard by serial number</strong></p> <pre class="code codeBlock" spellcheck="false" tabindex="0">#!/bin/bash curl -k -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{ "username":"your_user_name", "password":"your_password", "serialNumber":"your_serial_number" }' <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Ftraverse_server%2Fapi%2Fjson%2Fdashboard%2FdeleteDashboard">https://traverse_server/api/json/dashboard/deleteDashboard</a><br><br></pre> <p><strong>APPLIES TO:</strong></p> <p>All versions of Traverse</p> </article> </main>