Skip to main content
PATCH
/
accounts
/
api
/
dashboard
/
views
/
{dashboardViewId}
Update a dashboard view
curl --request PATCH \
  --url https://api2.upstackified.com/accounts/api/dashboard/views/{dashboardViewId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-pixel-id: <api-key>' \
  --data '
{
  "name": "<string>",
  "order": 123
}
'
{
  "dashboardView": {
    "id": "<string>",
    "pixelId": "<string>",
    "type": "view",
    "name": "<string>",
    "configuration": {
      "attributionModel": "first_click",
      "attributionWindow": 123,
      "granularity": "none",
      "dateRange": {
        "start": "2026-04-01",
        "end": "2026-04-30"
      },
      "grid": {
        "maxWidth": 1200
      },
      "widgets": [
        {
          "id": "<string>",
          "title": "<string>",
          "chartType": "bar",
          "layout": {
            "x": 5,
            "y": 1,
            "rows": 2,
            "columns": 6,
            "minColumns": 2,
            "maxColumns": 11,
            "minRows": 2,
            "maxRows": 123,
            "static": true
          },
          "dataConfig": {
            "measures": [
              "<string>"
            ],
            "dimensions": [
              "<string>"
            ],
            "filters": [
              {}
            ]
          }
        }
      ],
      "filters": {},
      "viewFilters": [
        {}
      ]
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "updatedBy": "<string>",
    "order": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Your Upstack API key. Starts with upstack_.

x-pixel-id
string
header
required

The pixel id the request targets.

Path Parameters

dashboardViewId
string
required

Body

application/json
name
string
Required string length: 1 - 200
configuration
object
order
integer

Response

Updated view.

dashboardView
object
required