For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.

Delete Dashboard Widget

Delete one widget permanently. Include the dashboard revision from an editable or references read. A revision conflict requires a fresh read; do not retry de…

Delete one widget permanently. Include the dashboard revision from an editable or references read. A revision conflict requires a fresh read; do not retry deletion automatically. MCP requires explicit destructive-operation confirmation.

deletehttps://statsigapi.net/console/v1/dashboards/{id}/widgets/{widgetId}

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

dashboard id

widgetIdstringrequired

widget id

Query parameters

revisionstringrequired

Include the revision returned by an editable or references read. Read the dashboard again after a revision conflict.

Response

application/json
200· Deleted widget identity and updated dashboard revision.
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
idstringrequired
revisionstringrequired
400· Invalid request. Please check the request input and try again.
statusintegerrequired
Allowed values:400
messagestringrequired
404· Not Found. The requested resource could not be found.
statusintegerrequired
Allowed values:404
messagestringrequired

Was this helpful?