POST
/
v1
/
dashboard_panels
/
{id}
/
duplicate
curl --request POST \
  --url https://api.rootly.com/v1/dashboard_panels/%7Bid%7D/duplicate \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "data": {
    "id": "91542eef-03df-4256-8b80-f5a0cd27bfd1",
    "type": "dashboard_panels",
    "attributes": {
      "dashboard_id": "eedb49db-761a-4f83-b143-512ccc9f1320",
      "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-13T11:59:56.477-07:00",
      "updated_at": "2025-03-13T11:59:56.477-07:00",
      "data": [
        {
          "name": "Incidents",
          "color": null,
          "data": {
            "2025-03-06": 0,
            "2025-03-07": 0,
            "2025-03-08": 0,
            "2025-03-09": 0,
            "2025-03-10": 0,
            "2025-03-11": 0,
            "2025-03-12": 0,
            "2025-03-13": 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