Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
200 - application/vnd.api+json
dashboard panel updated
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": "ab24d0d2-c714-4e42-8622-b00a85bd8c9f",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "0d174e26-cbf5-4f3d-aa6d-63b4063329f6",
"name": "test update",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-09-16T17:11:30.777-07:00",
"updated_at": "2025-09-16T17:11:31.874-07:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-09-09": 0,
"2025-09-10": 0,
"2025-09-11": 0,
"2025-09-12": 0,
"2025-09-13": 0,
"2025-09-14": 0,
"2025-09-15": 0,
"2025-09-16": 0
}
}
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Show child attributes
dashboard panel updated
Show child attributes
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": "ab24d0d2-c714-4e42-8622-b00a85bd8c9f",
"type": "dashboard_panels",
"attributes": {
"dashboard_id": "0d174e26-cbf5-4f3d-aa6d-63b4063329f6",
"name": "test update",
"params": {
"display": "line_chart",
"datasets": [
{
"collection": "incidents",
"filter": [],
"aggregate": {
"operation": "count",
"key": "results",
"cumulative": false
}
}
]
},
"position": null,
"created_at": "2025-09-16T17:11:30.777-07:00",
"updated_at": "2025-09-16T17:11:31.874-07:00",
"data": [
{
"name": "Incidents",
"color": null,
"data": {
"2025-09-09": 0,
"2025-09-10": 0,
"2025-09-11": 0,
"2025-09-12": 0,
"2025-09-13": 0,
"2025-09-14": 0,
"2025-09-15": 0,
"2025-09-16": 0
}
}
]
}
}
}