Skip to main content
PUT
/
api
/
analytics
/
layout
Update user's dashboard layout
curl --request PUT \
  --url https://api.getgranite.ai/api/analytics/layout \
  --header 'Content-Type: application/json' \
  --data '
{
  "widgets": [
    {
      "id": "<string>",
      "type": "<string>",
      "visible": true,
      "order": 0,
      "width": "half"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}
'
{
  "widgets": [
    {
      "id": "<string>",
      "type": "<string>",
      "visible": true,
      "order": 0,
      "width": "half"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

Body

application/json

User's dashboard layout configuration.

widgets
WidgetConfig · object[]
required
updated_at
string<date-time> | null

Response

Successful Response

User's dashboard layout configuration.

widgets
WidgetConfig · object[]
required
updated_at
string<date-time> | null