Launch Week 02 wrapped — explore all five launches

Delete Widget

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

Detaches a widget from a dashboard. The widget is hard-deleted only when it is no longer attached to any other dashboard.

DELETE/v1/dashboards/{dashboardId}/widgets/{widgetId}
curl -X DELETE "https://api.confident-ai.com/v1/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.

  • widgetIdstringRequired

    The id of the widget.

Response

The id of the affected widget.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    The id of the affected dashboard or widget.

    Show 1 propertyHide 1 property
    • idstring

      The id of the affected dashboard or widget.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI