POST
/
v1
/
dashboard_panels
/
{id}
/
duplicate
curl --request POST \
  --url https://api.rootly.com/v1/dashboard_panels/{id}/duplicate \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "90502702-1184-42ac-9e64-50767a800a82",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "570b2546-7553-4c63-aff9-8f56e64cca13",
      "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-03-20T17:48:29.593-07:00",
      "updated_at": "2025-03-20T17:48:29.593-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-03-13": 0,
            "2025-03-14": 0,
            "2025-03-15": 0,
            "2025-03-16": 0,
            "2025-03-17": 0,
            "2025-03-18": 0,
            "2025-03-19": 0,
            "2025-03-20": 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
data
object
required