curl --request PUT \
--url https://statsigapi.net/console/v1/dashboards/{id}/widgets \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '
{
"widgets": [
{
"type": "text",
"title": "<string>",
"content": "<string>",
"width": 6,
"height": 1
}
],
"defaults": {
"granularity": "auto"
},
"max_cols": 1
}
'