The deleteDashboard mutation permanently removes a dashboard and all its associated data.
Signature
deleteDashboard(id: String!): Boolean!
Arguments
The unique identifier of the dashboard to delete.
Response
Returns true if the dashboard was successfully deleted, false otherwise.
Usage Example
The following example shows how to delete a dashboard:
mutation DeleteDashboard($id: String!) {
deleteDashboard(id: $id)
}
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <jwt_token>" \
-d '{
"query": "mutation DeleteDashboard($id: String!) { deleteDashboard(id: $id) }",
"variables": {
"id": "dashboard_123456789"
}
}' \
https://{ACCOUNT}.askwisdom.ai/graphql
{
"data": {
"deleteDashboard": true
}
}
Dashboards Query
List available dashboards