POST
/
v1
/
dashboard_panels
/
{id}
/
duplicate
Duplicates a dashboard panel
curl --request POST \
  --url https://api.rootly.com/v1/dashboard_panels/{id}/duplicate \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "eadccb18-8b59-4379-b081-6a16e00b2791",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "1eb05e4c-b7d3-4727-9909-1e34b667e6db",
      "name": "Copy of Test panel",
      "params": {
        "display": "line_chart",
        "datasets": [
          {
            "collection": "incidents",
            "filter": [],
            "aggregate": {
              "operation": "count",
              "key": "results",
              "cumulative": false
            }
          }
        ]
      },
      "position": null,
      "created_at": "2025-08-26T21:24:19.567-07:00",
      "updated_at": "2025-08-26T21:24:19.567-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-08-19": 0,
            "2025-08-20": 0,
            "2025-08-21": 0,
            "2025-08-22": 0,
            "2025-08-23": 0,
            "2025-08-24": 0,
            "2025-08-25": 0,
            "2025-08-26": 0
          }
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

201
application/vnd.api+json

dashboard panel created

The response is of type object.