v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBdashboardManagement
Update a dashboard.
Update a dashboard by the given identifier.
put/v2/dashboards/{id}
Path parameters
idstring required
Identifier of the dashboard to update.
Request body
Example request
{
"title": "Kubernetes Dashboard",
"description": "A view of pods, namespaces and nodes of your cluster.",
"folderId": "000000000C1C17C6",
"topologyLabelMap": {
"data": {
"service": [
"kube-scheduler",
"kube-dns"
]
}
},
"domain": "aws",
"hierarchies": [
"Kubernetes Node View"
],
"refreshInterval": 30,
"timeRange": {
"type": "BeginBoundedTimeRange",
"from": {
"type": "RelativeTimeRangeBoundary",
"relativeTime": "-15m"
}
},
"panels": [
{
"id": "2F7D449E3D511066",
"key": "panelca6280e4a75fca45",
"title": "This panel shows memory usage for your kubernetes pod.",
"visualSettings": "{\\\"general\\\":{\\\"type\\\":\\\"column\\\"}",
"panelType": "SumoSearchPanel"
}
],
"layout": {
"layoutType": "Grid",
"layoutStructures": [
{
"key": "panelPANE-3DC454FD977E2A46",
"structure": "{\\\"height\\\":5,\\\"width\\\":9,\\\"x\\\":0,\\\"y\\\":0}"
}
]
},
"variables": [
{
"name": "_sourceHost",
"displayName": "Source Host",
"defaultValue": "default_value",
"sourceDefinition": {
"variableSourceType": "MetadataVariableSourceDefinition"
},
"includeAllOption": true,
"valueType": "Any"
}
],
"theme": "light",
"organizations": {
"defaultOrgIds": [
"us2-00000000FF42A0C3"
]
}
}Response
The dashboard was successfully modified.
Example response
{
"title": "Kubernetes Dashboard",
"description": "A view of pods, namespaces and nodes of your cluster.",
"folderId": "000000000C1C17C6",
"topologyLabelMap": {
"data": {
"service": [
"kube-scheduler",
"kube-dns"
]
}
},
"domain": "aws",
"hierarchies": [
"Kubernetes Node View"
],
"refreshInterval": 30,
"timeRange": {
"type": "BeginBoundedTimeRange",
"from": {
"type": "RelativeTimeRangeBoundary",
"relativeTime": "-15m"
}
},
"panels": [
{
"id": "2F7D449E3D511066",
"key": "panelca6280e4a75fca45",
"title": "This panel shows memory usage for your kubernetes pod.",
"visualSettings": "{\\\"general\\\":{\\\"type\\\":\\\"column\\\"}",
"panelType": "SumoSearchPanel"
}
],
"layout": {
"layoutType": "Grid",
"layoutStructures": [
{
"key": "panelPANE-3DC454FD977E2A46",
"structure": "{\\\"height\\\":5,\\\"width\\\":9,\\\"x\\\":0,\\\"y\\\":0}"
}
]
},
"variables": [
{
"name": "_sourceHost",
"displayName": "Source Host",
"defaultValue": "default_value",
"sourceDefinition": {
"variableSourceType": "MetadataVariableSourceDefinition"
},
"includeAllOption": true,
"valueType": "Any"
}
],
"theme": "light",
"organizations": {
"defaultOrgIds": [
"us2-00000000FF42A0C3"
]
},
"id": "B23OjNs5ZCyn5VdMwOBoLo3PjgRnJSAlNTKEDAcpuDG2CIgRe9KFXMofm2H2",
"contentId": "1",
"scheduleId": "RdQHYPh2jxoS90DXtKfA7nAJV2rsQ9BncpfY7IkjNzQWi52ug85W7r6Rrmtd",
"scheduleCount": 10
}