v1
latestOpenAPI 3.0.02026-07-142351,1971.3 MBDashboards
Update a dashboard
Update a dashboard using the specified ID.
put/api/v1/dashboard/{dashboard_id}
Path parameters
dashboard_idstring required
The ID of the dashboard.
Request body
Example request
{
"author_handle": "test@datadoghq.com",
"author_name": "John Doe",
"id": "123-abc-456",
"layout_type": "ordered",
"tabs": [
{
"name": "L",
"widget_ids": [
0
]
}
],
"template_variables": [
{
"available_values": [
"my-host",
"host1",
"host2"
],
"default": "my-host",
"defaults": [
"my-host-1",
"my-host-2"
],
"name": "host1",
"prefix": "host",
"type": "group"
}
],
"url": "/dashboard/123-abc-456/example-dashboard-title",
"widgets": [
{
"definition": {
"requests": {
"fill": {
"q": "avg:system.cpu.user{*}"
}
},
"type": "hostmap"
}
}
]
}Response
OK
Example response
{
"author_handle": "test@datadoghq.com",
"author_name": "John Doe",
"id": "123-abc-456",
"layout_type": "ordered",
"tabs": [
{
"name": "L",
"widget_ids": [
0
]
}
],
"template_variables": [
{
"available_values": [
"my-host",
"host1",
"host2"
],
"default": "my-host",
"defaults": [
"my-host-1",
"my-host-2"
],
"name": "host1",
"prefix": "host",
"type": "group"
}
],
"url": "/dashboard/123-abc-456/example-dashboard-title",
"widgets": [
{
"definition": {
"requests": {
"fill": {
"q": "avg:system.cpu.user{*}"
}
},
"type": "hostmap"
}
}
]
}