StatusDashboard
DashboardsComponents

Update dashboard components

Replace the component and group configuration for a dashboard.

View Markdown

PUT /app/dashboards/{id}/components

Replaces the component display settings and group configuration for a dashboard. This is a full replacement — the entire components map and groups object are overwritten.


Path parameters

ParameterDescription
idThe UUID of the dashboard.

Request

See API Basics for required headers.

Request body

FieldTypeDescription
compactbooleanUse a more compact layout when many components are displayed.
componentsobjectFull replacement map of componentId{ displayOrder: number, groupId?: string }. All component IDs must belong to the caller's organization.
groupsobjectComponent grouping configuration.

groups object

FieldTypeDescription
enabledbooleanWhether component groups are displayed on the status dashboard.
expandByDefaultbooleanWhether all named groups start expanded when a visitor loads the page. When false, all named groups start collapsed. Applies dashboard-wide, not per group. Ungrouped components are not auto-expanded.
itemsarrayOrdered list of group definitions. Each item requires id (UUID), name (max 50 chars), and order (integer). Optional description (max 150 chars) shown under the group name on the public dashboard.

Sample request

curl -X PUT https://api.statusdashboard.com/app/dashboards/a1b2c3d4-e5f6-7890-abcd-ef1234567890/components \
  -H "Authorization: Bearer bcf847abf5c6:def456" \
  -H "Content-Type: application/json" \
  -d '{
    "compact": false,
    "groups": {
      "enabled": true,
      "expandByDefault": true,
      "items": [
        { "id": "d4e5f6a7-b8c9-0123-def0-234567890123", "name": "Infrastructure", "order": 1 }
      ]
    },
    "components": {
      "a1b2c3d4-e5f6-7890-abcd-ef1234567891": { "displayOrder": 1 },
      "f6a7b8c9-d0e1-2345-f012-456789012345": { "displayOrder": 2, "groupId": "d4e5f6a7-b8c9-0123-def0-234567890123" }
    }
  }'

Sample response

Status: 200 OK

{
  "compact": false,
  "groups": {
    "enabled": true,
    "expandByDefault": true,
    "items": [
      { "id": "d4e5f6a7-b8c9-0123-def0-234567890123", "name": "Infrastructure", "order": 1 }
    ]
  },
  "components": {
    "a1b2c3d4-e5f6-7890-abcd-ef1234567891": { "displayOrder": 1 },
    "f6a7b8c9-d0e1-2345-f012-456789012345": { "displayOrder": 2, "groupId": "d4e5f6a7-b8c9-0123-def0-234567890123" }
  }
}

Error responses

StatusWhen
400Validation failure — invalid component IDs, duplicate display orders, or group reference errors.
403Insufficient permissions.
404Dashboard not found or does not belong to the caller's organization.

On this page

We use cookies

We use essential cookies to keep the site working, and optional analytics cookies to understand how it's used. Read our Privacy Policy.