Chilkat Online Tools

autoit / Datadog API Collection / Update a dashboard

Back to Collection Items

; This example assumes the Chilkat API to have been previously unlocked.
; See Global Unlock Sample for sample code.

$oHttp = ObjCreate("Chilkat.Http")
Local $bSuccess

; Use this online tool to generate code from sample JSON: Generate Code to Create JSON

; The following JSON is sent in the request body.

; {
;   "title": "",
;   "layout_type": "ordered",
;   "widgets": [
;     {
;       "definition": {
;         "type": "alert_graph",
;         "alert_id": "",
;         "viz_type": "timeseries",
;         "time": {
;           "live_span": "5m"
;         },
;         "title": "nisi et cupidatat sunt",
;         "title_align": "right",
;         "title_size": "officia anim occaecat aliq"
;       },
;       "id": 45068649,
;       "layout": {
;         "x": 0,
;         "y": 0,
;         "width": 0,
;         "height": 0,
;         "is_column_break": true
;       }
;     },
;     {
;       "definition": {
;         "type": "alert_graph",
;         "alert_id": "",
;         "viz_type": "timeseries",
;         "time": {
;           "live_span": "5m"
;         },
;         "title": "laborum dolor cillum ad",
;         "title_align": "center",
;         "title_size": "et"
;       },
;       "id": -40196020,
;       "layout": {
;         "x": 0,
;         "y": 0,
;         "width": 0,
;         "height": 0,
;         "is_column_break": false
;       }
;     }
;   ],
;   "author_handle": "test@datadoghq.com",
;   "author_name": "John Doe",
;   "created_at": "2017-08-17T07:10:36.438Z",
;   "description": "eiusmod do est velit enim",
;   "id": "123-abc-456",
;   "is_read_only": false,
;   "modified_at": "1996-07-08T08:32:43.112Z",
;   "notify_list": [
;     "commodo voluptate eu",
;     "consectetur amet"
;   ],
;   "reflow_type": "fixed",
;   "restricted_roles": [
;     "id cupidatat",
;     "quis ullamco"
;   ],
;   "tags": [
;     "quis qui mollit ex",
;     "ullamco enim cupidatat"
;   ],
;   "template_variable_presets": [
;     {
;       "name": "Lorem ex enim",
;       "template_variables": [
;         {
;           "name": "sed ",
;           "value": "quis eu",
;           "values": [
;             "in"
;           ]
;         },
;         {
;           "name": "non",
;           "value": "ea dolore esse elit Lorem",
;           "values": [
;             "sed voluptate nulla"
;           ]
;         }
;       ]
;     },
;     {
;       "name": "est ",
;       "template_variables": [
;         {
;           "name": "ullamco sint",
;           "value": "ad ex irure",
;           "values": [
;             "Duis elit dolor"
;           ]
;         },
;         {
;           "name": "proident adipisicing culpa cons",
;           "value": "occaecat",
;           "values": [
;             "esse fugiat"
;           ]
;         }
;       ]
;     }
;   ],
;   "template_variables": [
;     {
;       "name": "host1",
;       "available_values": [
;         "my-host",
;         "host1",
;         "host2"
;       ],
;       "default": "my-host",
;       "defaults": [
;         "my-host-1",
;         "my-host-2"
;       ],
;       "prefix": "host"
;     },
;     {
;       "name": "host1",
;       "available_values": [
;         "my-host",
;         "host1",
;         "host2"
;       ],
;       "default": "my-host",
;       "defaults": [
;         "my-host-1",
;         "my-host-2"
;       ],
;       "prefix": "host"
;     }
;   ],
;   "url": "/dashboard/123-abc-456/example-dashboard-title"
; }

$oJson = ObjCreate("Chilkat.JsonObject")
$oJson.UpdateString("title","")
$oJson.UpdateString("layout_type","ordered")
$oJson.UpdateString("widgets[0].definition.type","alert_graph")
$oJson.UpdateString("widgets[0].definition.alert_id","")
$oJson.UpdateString("widgets[0].definition.viz_type","timeseries")
$oJson.UpdateString("widgets[0].definition.time.live_span","5m")
$oJson.UpdateString("widgets[0].definition.title","nisi et cupidatat sunt")
$oJson.UpdateString("widgets[0].definition.title_align","right")
$oJson.UpdateString("widgets[0].definition.title_size","officia anim occaecat aliq")
$oJson.UpdateInt("widgets[0].id",45068649)
$oJson.UpdateInt("widgets[0].layout.x",0)
$oJson.UpdateInt("widgets[0].layout.y",0)
$oJson.UpdateInt("widgets[0].layout.width",0)
$oJson.UpdateInt("widgets[0].layout.height",0)
$oJson.UpdateBool("widgets[0].layout.is_column_break",True)
$oJson.UpdateString("widgets[1].definition.type","alert_graph")
$oJson.UpdateString("widgets[1].definition.alert_id","")
$oJson.UpdateString("widgets[1].definition.viz_type","timeseries")
$oJson.UpdateString("widgets[1].definition.time.live_span","5m")
$oJson.UpdateString("widgets[1].definition.title","laborum dolor cillum ad")
$oJson.UpdateString("widgets[1].definition.title_align","center")
$oJson.UpdateString("widgets[1].definition.title_size","et")
$oJson.UpdateInt("widgets[1].id",-40196020)
$oJson.UpdateInt("widgets[1].layout.x",0)
$oJson.UpdateInt("widgets[1].layout.y",0)
$oJson.UpdateInt("widgets[1].layout.width",0)
$oJson.UpdateInt("widgets[1].layout.height",0)
$oJson.UpdateBool("widgets[1].layout.is_column_break",False)
$oJson.UpdateString("author_handle","test@datadoghq.com")
$oJson.UpdateString("author_name","John Doe")
$oJson.UpdateString("created_at","2017-08-17T07:10:36.438Z")
$oJson.UpdateString("description","eiusmod do est velit enim")
$oJson.UpdateString("id","123-abc-456")
$oJson.UpdateBool("is_read_only",False)
$oJson.UpdateString("modified_at","1996-07-08T08:32:43.112Z")
$oJson.UpdateString("notify_list[0]","commodo voluptate eu")
$oJson.UpdateString("notify_list[1]","consectetur amet")
$oJson.UpdateString("reflow_type","fixed")
$oJson.UpdateString("restricted_roles[0]","id cupidatat")
$oJson.UpdateString("restricted_roles[1]","quis ullamco")
$oJson.UpdateString("tags[0]","quis qui mollit ex")
$oJson.UpdateString("tags[1]","ullamco enim cupidatat")
$oJson.UpdateString("template_variable_presets[0].name","Lorem ex enim")
$oJson.UpdateString("template_variable_presets[0].template_variables[0].name","sed ")
$oJson.UpdateString("template_variable_presets[0].template_variables[0].value","quis eu")
$oJson.UpdateString("template_variable_presets[0].template_variables[0].values[0]","in")
$oJson.UpdateString("template_variable_presets[0].template_variables[1].name","non")
$oJson.UpdateString("template_variable_presets[0].template_variables[1].value","ea dolore esse elit Lorem")
$oJson.UpdateString("template_variable_presets[0].template_variables[1].values[0]","sed voluptate nulla")
$oJson.UpdateString("template_variable_presets[1].name","est ")
$oJson.UpdateString("template_variable_presets[1].template_variables[0].name","ullamco sint")
$oJson.UpdateString("template_variable_presets[1].template_variables[0].value","ad ex irure")
$oJson.UpdateString("template_variable_presets[1].template_variables[0].values[0]","Duis elit dolor")
$oJson.UpdateString("template_variable_presets[1].template_variables[1].name","proident adipisicing culpa cons")
$oJson.UpdateString("template_variable_presets[1].template_variables[1].value","occaecat")
$oJson.UpdateString("template_variable_presets[1].template_variables[1].values[0]","esse fugiat")
$oJson.UpdateString("template_variables[0].name","host1")
$oJson.UpdateString("template_variables[0].available_values[0]","my-host")
$oJson.UpdateString("template_variables[0].available_values[1]","host1")
$oJson.UpdateString("template_variables[0].available_values[2]","host2")
$oJson.UpdateString("template_variables[0].default","my-host")
$oJson.UpdateString("template_variables[0].defaults[0]","my-host-1")
$oJson.UpdateString("template_variables[0].defaults[1]","my-host-2")
$oJson.UpdateString("template_variables[0].prefix","host")
$oJson.UpdateString("template_variables[1].name","host1")
$oJson.UpdateString("template_variables[1].available_values[0]","my-host")
$oJson.UpdateString("template_variables[1].available_values[1]","host1")
$oJson.UpdateString("template_variables[1].available_values[2]","host2")
$oJson.UpdateString("template_variables[1].default","my-host")
$oJson.UpdateString("template_variables[1].defaults[0]","my-host-1")
$oJson.UpdateString("template_variables[1].defaults[1]","my-host-2")
$oJson.UpdateString("template_variables[1].prefix","host")
$oJson.UpdateString("url","/dashboard/123-abc-456/example-dashboard-title")

$oHttp.SetRequestHeader "Content-Type","application/json"
$oHttp.SetRequestHeader "Accept","application/json"

$oSbRequestBody = ObjCreate("Chilkat.StringBuilder")
$oJson.EmitSb($oSbRequestBody)

Local $oResp = $oHttp.PTextSb("PUT","https://api.app.ddog-gov.com/api/v1/dashboard/:dashboard_id",$oSbRequestBody,"utf-8","application/json",False,False)
If ($oHttp.LastMethodSuccess = False) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf

$oSbResponseBody = ObjCreate("Chilkat.StringBuilder")
$oResp.GetBodySb($oSbResponseBody)

$oJResp = ObjCreate("Chilkat.JsonObject")
$oJResp.LoadSb($oSbResponseBody)
$oJResp.EmitCompact = False

ConsoleWrite("Response Body:" & @CRLF)
ConsoleWrite($oJResp.Emit() & @CRLF)

Local $iRespStatusCode = $oResp.StatusCode
ConsoleWrite("Response Status Code = " & $iRespStatusCode & @CRLF)
If ($iRespStatusCode >= 400) Then
    ConsoleWrite("Response Header:" & @CRLF)
    ConsoleWrite($oResp.Header & @CRLF)
    ConsoleWrite("Failed." & @CRLF)

    Exit
EndIf

; Sample JSON response:
; (Sample code for parsing the JSON response is shown below)

; {
;   "title": "",
;   "layout_type": "ordered",
;   "widgets": [
;     {
;       "definition": {
;         "type": "alert_graph",
;         "alert_id": "",
;         "viz_type": "timeseries",
;         "time": {
;           "live_span": "5m"
;         },
;         "title": "nisi et cupidatat sunt",
;         "title_align": "right",
;         "title_size": "officia anim occaecat aliq"
;       },
;       "id": 45068649,
;       "layout": {
;         "x": 0,
;         "y": 0,
;         "width": 0,
;         "height": 0,
;         "is_column_break": true
;       }
;     },
;     {
;       "definition": {
;         "type": "alert_graph",
;         "alert_id": "",
;         "viz_type": "timeseries",
;         "time": {
;           "live_span": "5m"
;         },
;         "title": "laborum dolor cillum ad",
;         "title_align": "center",
;         "title_size": "et"
;       },
;       "id": -40196020,
;       "layout": {
;         "x": 0,
;         "y": 0,
;         "width": 0,
;         "height": 0,
;         "is_column_break": false
;       }
;     }
;   ],
;   "author_handle": "test@datadoghq.com",
;   "author_name": "John Doe",
;   "created_at": "2017-08-17T07:10:36.438Z",
;   "description": "eiusmod do est velit enim",
;   "id": "123-abc-456",
;   "is_read_only": false,
;   "modified_at": "1996-07-08T08:32:43.112Z",
;   "notify_list": [
;     "commodo voluptate eu",
;     "consectetur amet"
;   ],
;   "reflow_type": "fixed",
;   "restricted_roles": [
;     "id cupidatat",
;     "quis ullamco"
;   ],
;   "tags": [
;     "quis qui mollit ex",
;     "ullamco enim cupidatat"
;   ],
;   "template_variable_presets": [
;     {
;       "name": "Lorem ex enim",
;       "template_variables": [
;         {
;           "name": "sed ",
;           "value": "quis eu",
;           "values": [
;             "in"
;           ]
;         },
;         {
;           "name": "non",
;           "value": "ea dolore esse elit Lorem",
;           "values": [
;             "sed voluptate nulla"
;           ]
;         }
;       ]
;     },
;     {
;       "name": "est ",
;       "template_variables": [
;         {
;           "name": "ullamco sint",
;           "value": "ad ex irure",
;           "values": [
;             "Duis elit dolor"
;           ]
;         },
;         {
;           "name": "proident adipisicing culpa cons",
;           "value": "occaecat",
;           "values": [
;             "esse fugiat"
;           ]
;         }
;       ]
;     }
;   ],
;   "template_variables": [
;     {
;       "name": "host1",
;       "available_values": [
;         "my-host",
;         "host1",
;         "host2"
;       ],
;       "default": "my-host",
;       "defaults": [
;         "my-host-1",
;         "my-host-2"
;       ],
;       "prefix": "host"
;     },
;     {
;       "name": "host1",
;       "available_values": [
;         "my-host",
;         "host1",
;         "host2"
;       ],
;       "default": "my-host",
;       "defaults": [
;         "my-host-1",
;         "my-host-2"
;       ],
;       "prefix": "host"
;     }
;   ],
;   "url": "/dashboard/123-abc-456/example-dashboard-title"
; }

; Sample code for parsing the JSON response...
; Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

Local $sV_Type
Local $sAlert_id
Local $sViz_type
Local $sLive_span
Local $sTitle
Local $sTitle_align
Local $sTitle_size
Local $id_int
Local $iX
Local $iY
Local $iWidth
Local $iHeight
Local $bIs_column_break
Local $strVal
Local $sName
Local $iJ
Local $iCount_j
Local $sValue
Local $iK
Local $iCount_k
Local $sDefault
Local $sPrefix

Local $sTitle = $oJResp.StringOf("title")
Local $sLayout_type = $oJResp.StringOf("layout_type")
Local $sAuthor_handle = $oJResp.StringOf("author_handle")
Local $sAuthor_name = $oJResp.StringOf("author_name")
Local $sCreated_at = $oJResp.StringOf("created_at")
Local $sDescription = $oJResp.StringOf("description")
Local $sId = $oJResp.StringOf("id")
Local $bIs_read_only = $oJResp.BoolOf("is_read_only")
Local $sModified_at = $oJResp.StringOf("modified_at")
Local $sReflow_type = $oJResp.StringOf("reflow_type")
Local $sUrl = $oJResp.StringOf("url")
Local $i = 0
Local $iCount_i = $oJResp.SizeOfArray("widgets")
While $i < $iCount_i
    $oJResp.I = $i
    $sV_Type = $oJResp.StringOf("widgets[i].definition.type")
    $sAlert_id = $oJResp.StringOf("widgets[i].definition.alert_id")
    $sViz_type = $oJResp.StringOf("widgets[i].definition.viz_type")
    $sLive_span = $oJResp.StringOf("widgets[i].definition.time.live_span")
    $sTitle = $oJResp.StringOf("widgets[i].definition.title")
    $sTitle_align = $oJResp.StringOf("widgets[i].definition.title_align")
    $sTitle_size = $oJResp.StringOf("widgets[i].definition.title_size")
    $id_int = $oJResp.IntOf("widgets[i].id")
    $iX = $oJResp.IntOf("widgets[i].layout.x")
    $iY = $oJResp.IntOf("widgets[i].layout.y")
    $iWidth = $oJResp.IntOf("widgets[i].layout.width")
    $iHeight = $oJResp.IntOf("widgets[i].layout.height")
    $bIs_column_break = $oJResp.BoolOf("widgets[i].layout.is_column_break")
    $i = $i + 1
Wend
$i = 0
$iCount_i = $oJResp.SizeOfArray("notify_list")
While $i < $iCount_i
    $oJResp.I = $i
    $strVal = $oJResp.StringOf("notify_list[i]")
    $i = $i + 1
Wend
$i = 0
$iCount_i = $oJResp.SizeOfArray("restricted_roles")
While $i < $iCount_i
    $oJResp.I = $i
    $strVal = $oJResp.StringOf("restricted_roles[i]")
    $i = $i + 1
Wend
$i = 0
$iCount_i = $oJResp.SizeOfArray("tags")
While $i < $iCount_i
    $oJResp.I = $i
    $strVal = $oJResp.StringOf("tags[i]")
    $i = $i + 1
Wend
$i = 0
$iCount_i = $oJResp.SizeOfArray("template_variable_presets")
While $i < $iCount_i
    $oJResp.I = $i
    $sName = $oJResp.StringOf("template_variable_presets[i].name")
    $iJ = 0
    $iCount_j = $oJResp.SizeOfArray("template_variable_presets[i].template_variables")
    While $iJ < $iCount_j
        $oJResp.J = $iJ
        $sName = $oJResp.StringOf("template_variable_presets[i].template_variables[j].name")
        $sValue = $oJResp.StringOf("template_variable_presets[i].template_variables[j].value")
        $iK = 0
        $iCount_k = $oJResp.SizeOfArray("template_variable_presets[i].template_variables[j].values")
        While $iK < $iCount_k
            $oJResp.K = $iK
            $strVal = $oJResp.StringOf("template_variable_presets[i].template_variables[j].values[k]")
            $iK = $iK + 1
        Wend
        $iJ = $iJ + 1
    Wend
    $i = $i + 1
Wend
$i = 0
$iCount_i = $oJResp.SizeOfArray("template_variables")
While $i < $iCount_i
    $oJResp.I = $i
    $sName = $oJResp.StringOf("template_variables[i].name")
    $sDefault = $oJResp.StringOf("template_variables[i].default")
    $sPrefix = $oJResp.StringOf("template_variables[i].prefix")
    $iJ = 0
    $iCount_j = $oJResp.SizeOfArray("template_variables[i].available_values")
    While $iJ < $iCount_j
        $oJResp.J = $iJ
        $strVal = $oJResp.StringOf("template_variables[i].available_values[j]")
        $iJ = $iJ + 1
    Wend
    $iJ = 0
    $iCount_j = $oJResp.SizeOfArray("template_variables[i].defaults")
    While $iJ < $iCount_j
        $oJResp.J = $iJ
        $strVal = $oJResp.StringOf("template_variables[i].defaults[j]")
        $iJ = $iJ + 1
    Wend
    $i = $i + 1
Wend

Curl Command

curl -X PUT
	-H "Content-Type: application/json"
	-H "Accept: application/json"
	-d '{
  "title": "",
  "layout_type": "ordered",
  "widgets": [
    {
      "definition": {
        "type": "alert_graph",
        "alert_id": "",
        "viz_type": "timeseries",
        "time": {
          "live_span": "5m"
        },
        "title": "nisi et cupidatat sunt",
        "title_align": "right",
        "title_size": "officia anim occaecat aliq"
      },
      "id": 45068649,
      "layout": {
        "x": 0,
        "y": 0,
        "width": 0,
        "height": 0,
        "is_column_break": true
      }
    },
    {
      "definition": {
        "type": "alert_graph",
        "alert_id": "",
        "viz_type": "timeseries",
        "time": {
          "live_span": "5m"
        },
        "title": "laborum dolor cillum ad",
        "title_align": "center",
        "title_size": "et"
      },
      "id": -40196020,
      "layout": {
        "x": 0,
        "y": 0,
        "width": 0,
        "height": 0,
        "is_column_break": false
      }
    }
  ],
  "author_handle": "test@datadoghq.com",
  "author_name": "John Doe",
  "created_at": "2017-08-17T07:10:36.438Z",
  "description": "eiusmod do est velit enim",
  "id": "123-abc-456",
  "is_read_only": false,
  "modified_at": "1996-07-08T08:32:43.112Z",
  "notify_list": [
    "commodo voluptate eu",
    "consectetur amet"
  ],
  "reflow_type": "fixed",
  "restricted_roles": [
    "id cupidatat",
    "quis ullamco"
  ],
  "tags": [
    "quis qui mollit ex",
    "ullamco enim cupidatat"
  ],
  "template_variable_presets": [
    {
      "name": "Lorem ex enim",
      "template_variables": [
        {
          "name": "sed ",
          "value": "quis eu",
          "values": [
            "in"
          ]
        },
        {
          "name": "non",
          "value": "ea dolore esse elit Lorem",
          "values": [
            "sed voluptate nulla"
          ]
        }
      ]
    },
    {
      "name": "est ",
      "template_variables": [
        {
          "name": "ullamco sint",
          "value": "ad ex irure",
          "values": [
            "Duis elit dolor"
          ]
        },
        {
          "name": "proident adipisicing culpa cons",
          "value": "occaecat",
          "values": [
            "esse fugiat"
          ]
        }
      ]
    }
  ],
  "template_variables": [
    {
      "name": "host1",
      "available_values": [
        "my-host",
        "host1",
        "host2"
      ],
      "default": "my-host",
      "defaults": [
        "my-host-1",
        "my-host-2"
      ],
      "prefix": "host"
    },
    {
      "name": "host1",
      "available_values": [
        "my-host",
        "host1",
        "host2"
      ],
      "default": "my-host",
      "defaults": [
        "my-host-1",
        "my-host-2"
      ],
      "prefix": "host"
    }
  ],
  "url": "/dashboard/123-abc-456/example-dashboard-title"
}'
https://api.app.ddog-gov.com/api/v1/dashboard/:dashboard_id

Postman Collection Item JSON

{
  "name": "Update a dashboard",
  "request": {
    "method": "PUT",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/json"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n  \"title\": \"\",\n  \"layout_type\": \"ordered\",\n  \"widgets\": [\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"nisi et cupidatat sunt\",\n        \"title_align\": \"right\",\n        \"title_size\": \"officia anim occaecat aliq\"\n      },\n      \"id\": 45068649,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": true\n      }\n    },\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"laborum dolor cillum ad\",\n        \"title_align\": \"center\",\n        \"title_size\": \"et\"\n      },\n      \"id\": -40196020,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": false\n      }\n    }\n  ],\n  \"author_handle\": \"test@datadoghq.com\",\n  \"author_name\": \"John Doe\",\n  \"created_at\": \"2017-08-17T07:10:36.438Z\",\n  \"description\": \"eiusmod do est velit enim\",\n  \"id\": \"123-abc-456\",\n  \"is_read_only\": false,\n  \"modified_at\": \"1996-07-08T08:32:43.112Z\",\n  \"notify_list\": [\n    \"commodo voluptate eu\",\n    \"consectetur amet\"\n  ],\n  \"reflow_type\": \"fixed\",\n  \"restricted_roles\": [\n    \"id cupidatat\",\n    \"quis ullamco\"\n  ],\n  \"tags\": [\n    \"quis qui mollit ex\",\n    \"ullamco enim cupidatat\"\n  ],\n  \"template_variable_presets\": [\n    {\n      \"name\": \"Lorem ex enim\",\n      \"template_variables\": [\n        {\n          \"name\": \"sed \",\n          \"value\": \"quis eu\",\n          \"values\": [\n            \"in\"\n          ]\n        },\n        {\n          \"name\": \"non\",\n          \"value\": \"ea dolore esse elit Lorem\",\n          \"values\": [\n            \"sed voluptate nulla\"\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"est \",\n      \"template_variables\": [\n        {\n          \"name\": \"ullamco sint\",\n          \"value\": \"ad ex irure\",\n          \"values\": [\n            \"Duis elit dolor\"\n          ]\n        },\n        {\n          \"name\": \"proident adipisicing culpa cons\",\n          \"value\": \"occaecat\",\n          \"values\": [\n            \"esse fugiat\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"template_variables\": [\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    },\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    }\n  ],\n  \"url\": \"/dashboard/123-abc-456/example-dashboard-title\"\n}",
      "options": {
        "raw": {
          "headerFamily": "json",
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "{{baseUrl}}/api/v1/dashboard/:dashboard_id",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "v1",
        "dashboard",
        ":dashboard_id"
      ],
      "variable": [
        {
          "key": "dashboard_id",
          "value": "tempor Ut sed velit"
        }
      ]
    },
    "description": "Update a dashboard using the specified ID."
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\",\n  \"layout_type\": \"ordered\",\n  \"widgets\": [\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"nisi et cupidatat sunt\",\n        \"title_align\": \"right\",\n        \"title_size\": \"officia anim occaecat aliq\"\n      },\n      \"id\": 45068649,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": true\n      }\n    },\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"laborum dolor cillum ad\",\n        \"title_align\": \"center\",\n        \"title_size\": \"et\"\n      },\n      \"id\": -40196020,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": false\n      }\n    }\n  ],\n  \"author_handle\": \"test@datadoghq.com\",\n  \"author_name\": \"John Doe\",\n  \"created_at\": \"2017-08-17T07:10:36.438Z\",\n  \"description\": \"eiusmod do est velit enim\",\n  \"id\": \"123-abc-456\",\n  \"is_read_only\": false,\n  \"modified_at\": \"1996-07-08T08:32:43.112Z\",\n  \"notify_list\": [\n    \"commodo voluptate eu\",\n    \"consectetur amet\"\n  ],\n  \"reflow_type\": \"fixed\",\n  \"restricted_roles\": [\n    \"id cupidatat\",\n    \"quis ullamco\"\n  ],\n  \"tags\": [\n    \"quis qui mollit ex\",\n    \"ullamco enim cupidatat\"\n  ],\n  \"template_variable_presets\": [\n    {\n      \"name\": \"Lorem ex enim\",\n      \"template_variables\": [\n        {\n          \"name\": \"sed \",\n          \"value\": \"quis eu\",\n          \"values\": [\n            \"in\"\n          ]\n        },\n        {\n          \"name\": \"non\",\n          \"value\": \"ea dolore esse elit Lorem\",\n          \"values\": [\n            \"sed voluptate nulla\"\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"est \",\n      \"template_variables\": [\n        {\n          \"name\": \"ullamco sint\",\n          \"value\": \"ad ex irure\",\n          \"values\": [\n            \"Duis elit dolor\"\n          ]\n        },\n        {\n          \"name\": \"proident adipisicing culpa cons\",\n          \"value\": \"occaecat\",\n          \"values\": [\n            \"esse fugiat\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"template_variables\": [\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    },\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    }\n  ],\n  \"url\": \"/dashboard/123-abc-456/example-dashboard-title\"\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/dashboard/:dashboard_id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "dashboard",
            ":dashboard_id"
          ],
          "variable": [
            {
              "key": "dashboard_id"
            }
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"title\": \"\",\n  \"layout_type\": \"ordered\",\n  \"widgets\": [\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"nisi et cupidatat sunt\",\n        \"title_align\": \"right\",\n        \"title_size\": \"officia anim occaecat aliq\"\n      },\n      \"id\": 45068649,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": true\n      }\n    },\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"laborum dolor cillum ad\",\n        \"title_align\": \"center\",\n        \"title_size\": \"et\"\n      },\n      \"id\": -40196020,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": false\n      }\n    }\n  ],\n  \"author_handle\": \"test@datadoghq.com\",\n  \"author_name\": \"John Doe\",\n  \"created_at\": \"2017-08-17T07:10:36.438Z\",\n  \"description\": \"eiusmod do est velit enim\",\n  \"id\": \"123-abc-456\",\n  \"is_read_only\": false,\n  \"modified_at\": \"1996-07-08T08:32:43.112Z\",\n  \"notify_list\": [\n    \"commodo voluptate eu\",\n    \"consectetur amet\"\n  ],\n  \"reflow_type\": \"fixed\",\n  \"restricted_roles\": [\n    \"id cupidatat\",\n    \"quis ullamco\"\n  ],\n  \"tags\": [\n    \"quis qui mollit ex\",\n    \"ullamco enim cupidatat\"\n  ],\n  \"template_variable_presets\": [\n    {\n      \"name\": \"Lorem ex enim\",\n      \"template_variables\": [\n        {\n          \"name\": \"sed \",\n          \"value\": \"quis eu\",\n          \"values\": [\n            \"in\"\n          ]\n        },\n        {\n          \"name\": \"non\",\n          \"value\": \"ea dolore esse elit Lorem\",\n          \"values\": [\n            \"sed voluptate nulla\"\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"est \",\n      \"template_variables\": [\n        {\n          \"name\": \"ullamco sint\",\n          \"value\": \"ad ex irure\",\n          \"values\": [\n            \"Duis elit dolor\"\n          ]\n        },\n        {\n          \"name\": \"proident adipisicing culpa cons\",\n          \"value\": \"occaecat\",\n          \"values\": [\n            \"esse fugiat\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"template_variables\": [\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    },\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    }\n  ],\n  \"url\": \"/dashboard/123-abc-456/example-dashboard-title\"\n}"
    },
    {
      "name": "Bad Request",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\",\n  \"layout_type\": \"ordered\",\n  \"widgets\": [\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"nisi et cupidatat sunt\",\n        \"title_align\": \"right\",\n        \"title_size\": \"officia anim occaecat aliq\"\n      },\n      \"id\": 45068649,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": true\n      }\n    },\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"laborum dolor cillum ad\",\n        \"title_align\": \"center\",\n        \"title_size\": \"et\"\n      },\n      \"id\": -40196020,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": false\n      }\n    }\n  ],\n  \"author_handle\": \"test@datadoghq.com\",\n  \"author_name\": \"John Doe\",\n  \"created_at\": \"2017-08-17T07:10:36.438Z\",\n  \"description\": \"eiusmod do est velit enim\",\n  \"id\": \"123-abc-456\",\n  \"is_read_only\": false,\n  \"modified_at\": \"1996-07-08T08:32:43.112Z\",\n  \"notify_list\": [\n    \"commodo voluptate eu\",\n    \"consectetur amet\"\n  ],\n  \"reflow_type\": \"fixed\",\n  \"restricted_roles\": [\n    \"id cupidatat\",\n    \"quis ullamco\"\n  ],\n  \"tags\": [\n    \"quis qui mollit ex\",\n    \"ullamco enim cupidatat\"\n  ],\n  \"template_variable_presets\": [\n    {\n      \"name\": \"Lorem ex enim\",\n      \"template_variables\": [\n        {\n          \"name\": \"sed \",\n          \"value\": \"quis eu\",\n          \"values\": [\n            \"in\"\n          ]\n        },\n        {\n          \"name\": \"non\",\n          \"value\": \"ea dolore esse elit Lorem\",\n          \"values\": [\n            \"sed voluptate nulla\"\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"est \",\n      \"template_variables\": [\n        {\n          \"name\": \"ullamco sint\",\n          \"value\": \"ad ex irure\",\n          \"values\": [\n            \"Duis elit dolor\"\n          ]\n        },\n        {\n          \"name\": \"proident adipisicing culpa cons\",\n          \"value\": \"occaecat\",\n          \"values\": [\n            \"esse fugiat\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"template_variables\": [\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    },\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    }\n  ],\n  \"url\": \"/dashboard/123-abc-456/example-dashboard-title\"\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/dashboard/:dashboard_id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "dashboard",
            ":dashboard_id"
          ],
          "variable": [
            {
              "key": "dashboard_id"
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    },
    {
      "name": "Authentication Error",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\",\n  \"layout_type\": \"ordered\",\n  \"widgets\": [\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"nisi et cupidatat sunt\",\n        \"title_align\": \"right\",\n        \"title_size\": \"officia anim occaecat aliq\"\n      },\n      \"id\": 45068649,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": true\n      }\n    },\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"laborum dolor cillum ad\",\n        \"title_align\": \"center\",\n        \"title_size\": \"et\"\n      },\n      \"id\": -40196020,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": false\n      }\n    }\n  ],\n  \"author_handle\": \"test@datadoghq.com\",\n  \"author_name\": \"John Doe\",\n  \"created_at\": \"2017-08-17T07:10:36.438Z\",\n  \"description\": \"eiusmod do est velit enim\",\n  \"id\": \"123-abc-456\",\n  \"is_read_only\": false,\n  \"modified_at\": \"1996-07-08T08:32:43.112Z\",\n  \"notify_list\": [\n    \"commodo voluptate eu\",\n    \"consectetur amet\"\n  ],\n  \"reflow_type\": \"fixed\",\n  \"restricted_roles\": [\n    \"id cupidatat\",\n    \"quis ullamco\"\n  ],\n  \"tags\": [\n    \"quis qui mollit ex\",\n    \"ullamco enim cupidatat\"\n  ],\n  \"template_variable_presets\": [\n    {\n      \"name\": \"Lorem ex enim\",\n      \"template_variables\": [\n        {\n          \"name\": \"sed \",\n          \"value\": \"quis eu\",\n          \"values\": [\n            \"in\"\n          ]\n        },\n        {\n          \"name\": \"non\",\n          \"value\": \"ea dolore esse elit Lorem\",\n          \"values\": [\n            \"sed voluptate nulla\"\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"est \",\n      \"template_variables\": [\n        {\n          \"name\": \"ullamco sint\",\n          \"value\": \"ad ex irure\",\n          \"values\": [\n            \"Duis elit dolor\"\n          ]\n        },\n        {\n          \"name\": \"proident adipisicing culpa cons\",\n          \"value\": \"occaecat\",\n          \"values\": [\n            \"esse fugiat\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"template_variables\": [\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    },\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    }\n  ],\n  \"url\": \"/dashboard/123-abc-456/example-dashboard-title\"\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/dashboard/:dashboard_id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "dashboard",
            ":dashboard_id"
          ],
          "variable": [
            {
              "key": "dashboard_id"
            }
          ]
        }
      },
      "status": "Forbidden",
      "code": 403,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    },
    {
      "name": "Item Not Found",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\",\n  \"layout_type\": \"ordered\",\n  \"widgets\": [\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"nisi et cupidatat sunt\",\n        \"title_align\": \"right\",\n        \"title_size\": \"officia anim occaecat aliq\"\n      },\n      \"id\": 45068649,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": true\n      }\n    },\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"laborum dolor cillum ad\",\n        \"title_align\": \"center\",\n        \"title_size\": \"et\"\n      },\n      \"id\": -40196020,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": false\n      }\n    }\n  ],\n  \"author_handle\": \"test@datadoghq.com\",\n  \"author_name\": \"John Doe\",\n  \"created_at\": \"2017-08-17T07:10:36.438Z\",\n  \"description\": \"eiusmod do est velit enim\",\n  \"id\": \"123-abc-456\",\n  \"is_read_only\": false,\n  \"modified_at\": \"1996-07-08T08:32:43.112Z\",\n  \"notify_list\": [\n    \"commodo voluptate eu\",\n    \"consectetur amet\"\n  ],\n  \"reflow_type\": \"fixed\",\n  \"restricted_roles\": [\n    \"id cupidatat\",\n    \"quis ullamco\"\n  ],\n  \"tags\": [\n    \"quis qui mollit ex\",\n    \"ullamco enim cupidatat\"\n  ],\n  \"template_variable_presets\": [\n    {\n      \"name\": \"Lorem ex enim\",\n      \"template_variables\": [\n        {\n          \"name\": \"sed \",\n          \"value\": \"quis eu\",\n          \"values\": [\n            \"in\"\n          ]\n        },\n        {\n          \"name\": \"non\",\n          \"value\": \"ea dolore esse elit Lorem\",\n          \"values\": [\n            \"sed voluptate nulla\"\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"est \",\n      \"template_variables\": [\n        {\n          \"name\": \"ullamco sint\",\n          \"value\": \"ad ex irure\",\n          \"values\": [\n            \"Duis elit dolor\"\n          ]\n        },\n        {\n          \"name\": \"proident adipisicing culpa cons\",\n          \"value\": \"occaecat\",\n          \"values\": [\n            \"esse fugiat\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"template_variables\": [\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    },\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    }\n  ],\n  \"url\": \"/dashboard/123-abc-456/example-dashboard-title\"\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/dashboard/:dashboard_id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "dashboard",
            ":dashboard_id"
          ],
          "variable": [
            {
              "key": "dashboard_id"
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    },
    {
      "name": "Too many requests",
      "originalRequest": {
        "method": "PUT",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\",\n  \"layout_type\": \"ordered\",\n  \"widgets\": [\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"nisi et cupidatat sunt\",\n        \"title_align\": \"right\",\n        \"title_size\": \"officia anim occaecat aliq\"\n      },\n      \"id\": 45068649,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": true\n      }\n    },\n    {\n      \"definition\": {\n        \"type\": \"alert_graph\",\n        \"alert_id\": \"\",\n        \"viz_type\": \"timeseries\",\n        \"time\": {\n          \"live_span\": \"5m\"\n        },\n        \"title\": \"laborum dolor cillum ad\",\n        \"title_align\": \"center\",\n        \"title_size\": \"et\"\n      },\n      \"id\": -40196020,\n      \"layout\": {\n        \"x\": 0,\n        \"y\": 0,\n        \"width\": 0,\n        \"height\": 0,\n        \"is_column_break\": false\n      }\n    }\n  ],\n  \"author_handle\": \"test@datadoghq.com\",\n  \"author_name\": \"John Doe\",\n  \"created_at\": \"2017-08-17T07:10:36.438Z\",\n  \"description\": \"eiusmod do est velit enim\",\n  \"id\": \"123-abc-456\",\n  \"is_read_only\": false,\n  \"modified_at\": \"1996-07-08T08:32:43.112Z\",\n  \"notify_list\": [\n    \"commodo voluptate eu\",\n    \"consectetur amet\"\n  ],\n  \"reflow_type\": \"fixed\",\n  \"restricted_roles\": [\n    \"id cupidatat\",\n    \"quis ullamco\"\n  ],\n  \"tags\": [\n    \"quis qui mollit ex\",\n    \"ullamco enim cupidatat\"\n  ],\n  \"template_variable_presets\": [\n    {\n      \"name\": \"Lorem ex enim\",\n      \"template_variables\": [\n        {\n          \"name\": \"sed \",\n          \"value\": \"quis eu\",\n          \"values\": [\n            \"in\"\n          ]\n        },\n        {\n          \"name\": \"non\",\n          \"value\": \"ea dolore esse elit Lorem\",\n          \"values\": [\n            \"sed voluptate nulla\"\n          ]\n        }\n      ]\n    },\n    {\n      \"name\": \"est \",\n      \"template_variables\": [\n        {\n          \"name\": \"ullamco sint\",\n          \"value\": \"ad ex irure\",\n          \"values\": [\n            \"Duis elit dolor\"\n          ]\n        },\n        {\n          \"name\": \"proident adipisicing culpa cons\",\n          \"value\": \"occaecat\",\n          \"values\": [\n            \"esse fugiat\"\n          ]\n        }\n      ]\n    }\n  ],\n  \"template_variables\": [\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    },\n    {\n      \"name\": \"host1\",\n      \"available_values\": [\n        \"my-host\",\n        \"host1\",\n        \"host2\"\n      ],\n      \"default\": \"my-host\",\n      \"defaults\": [\n        \"my-host-1\",\n        \"my-host-2\"\n      ],\n      \"prefix\": \"host\"\n    }\n  ],\n  \"url\": \"/dashboard/123-abc-456/example-dashboard-title\"\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/dashboard/:dashboard_id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "dashboard",
            ":dashboard_id"
          ],
          "variable": [
            {
              "key": "dashboard_id"
            }
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    }
  ]
}