Launch Week 02 wrapped — explore all five launches

Delete Widget

DELETEhttps://api.confident-ai.com/v2/dashboards/{dashboardId}/widgets/{widgetId}

Removes a widget from a dashboard. A widget shown on other dashboards is only taken off this one; the last dashboard to drop it deletes it and its lines for good.

DELETE/v2/dashboards/{dashboardId}/widgets/{widgetId}
curl -X DELETE "https://api.confident-ai.com/v2/dashboards/{dashboardId}/widgets/{widgetId}" \
  -H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"
200
{
  "success": true,
  "data": {
    "id": "<WIDGET-ID>"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The API key of your Confident AI project.

Path parameters

  • dashboardIdstringRequired

    The id of the dashboard the widget is on.

  • widgetIdstringRequired

    The id of the widget.

Response

Delete Widget succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    A reference to a widget by its id.

    Show 1 propertyHide 1 property
    • idstring

      The id of the widget, generated by Confident AI.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI