Update a specific dashboard panel by id
curl --request PUT \
--url https://api.rootly.com/v1/dashboard_panels/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "dashboard_panels",
"attributes": {
"name": "<string>",
"params": {
"display": "line_chart",
"description": "<string>",
"table_fields": [
"<string>"
],
"legend": {
"groups": "all"
},
"datalabels": {
"enabled": true
},
"datasets": [
{
"name": "<string>",
"collection": "alerts",
"filter": [
{
"operation": "and",
"rules": [
{
"operation": "and",
"condition": "=",
"key": "<string>",
"value": "<string>"
}
]
}
],
"group_by": "<string>",
"aggregate": {
"operation": "count",
"key": "<string>",
"cumulative": true
}
}
]
},
"position": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
}
}
}
}
'{
"data": {
"id": "3331d9ae-039e-4f90-88df-f52387b0c10d",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "a3bf3291-0532-4eb7-b80e-bd04db86fc3e",
"name": "test update",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-12-10T16:21:53.953-08:00",
"updated_at": "2025-12-10T16:21:54.797-08:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-12-03": 0,
"2025-12-04": 0,
"2025-12-05": 0,
"2025-12-06": 0,
"2025-12-07": 0,
"2025-12-08": 0,
"2025-12-09": 0,
"2025-12-10": 0
}
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
dashboard_panels Show child attributes
The name of the dashboard_panel
Show child attributes
line_chart, line_stepped_chart, column_chart, stacked_column_chart, monitoring_chart, pie_chart, table, aggregate_value Show child attributes
alerts, incidents, incident_post_mortems, incident_action_items, users Show child attributes
and, or Show child attributes
and, or =, !=, >=, <=, exists, not_exists, contains, not_contains, assigned, unassigned dashboard panel updated
Show child attributes
Unique ID of the dashboard_panel
dashboard_panels Show child attributes
Show child attributes
line_chart, line_stepped_chart, column_chart, stacked_column_chart, monitoring_chart, pie_chart, table, aggregate_value Show child attributes
alerts, incidents, incident_post_mortems, incident_action_items, users Show child attributes
and, or Show child attributes
and, or =, !=, >=, <=, exists, not_exists, contains, not_contains, assigned, unassigned The panel dashboard
The name of the dashboard_panel
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/dashboard_panels/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "dashboard_panels",
"attributes": {
"name": "<string>",
"params": {
"display": "line_chart",
"description": "<string>",
"table_fields": [
"<string>"
],
"legend": {
"groups": "all"
},
"datalabels": {
"enabled": true
},
"datasets": [
{
"name": "<string>",
"collection": "alerts",
"filter": [
{
"operation": "and",
"rules": [
{
"operation": "and",
"condition": "=",
"key": "<string>",
"value": "<string>"
}
]
}
],
"group_by": "<string>",
"aggregate": {
"operation": "count",
"key": "<string>",
"cumulative": true
}
}
]
},
"position": {
"x": 123,
"y": 123,
"w": 123,
"h": 123
}
}
}
}
'{
"data": {
"id": "3331d9ae-039e-4f90-88df-f52387b0c10d",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "a3bf3291-0532-4eb7-b80e-bd04db86fc3e",
"name": "test update",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-12-10T16:21:53.953-08:00",
"updated_at": "2025-12-10T16:21:54.797-08:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-12-03": 0,
"2025-12-04": 0,
"2025-12-05": 0,
"2025-12-06": 0,
"2025-12-07": 0,
"2025-12-08": 0,
"2025-12-09": 0,
"2025-12-10": 0
}
}
]
}
}
}