Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wisdom.ai/llms.txt

Use this file to discover all available pages before exploring further.

The deleteDashboard mutation permanently removes a dashboard and all its associated data.

Signature

deleteDashboard(id: String!): Boolean!

Arguments

id
String!
required
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
  }
}

Next steps

Dashboards Query

List available dashboards