Update a dashboard
curl --request PATCH \
--url https://api.select.dev/v2/dashboards/{dashboard_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-tenant-id: <x-tenant-id>' \
--data '
{
"name": "<string>",
"description": "<string>",
"team_id": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>"
}
'import requests
url = "https://api.select.dev/v2/dashboards/{dashboard_id}"
payload = {
"name": "<string>",
"description": "<string>",
"team_id": "<string>",
"layout": {},
"filters": ["<unknown>"],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>"
}
headers = {
"x-tenant-id": "<x-tenant-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
'x-tenant-id': '<x-tenant-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
description: '<string>',
team_id: '<string>',
layout: {},
filters: ['<unknown>'],
date_range: {relative_shortcut: '<string>', start_date: '<string>', end_date: '<string>'},
freeform_layout: [{x: 1, y: 1, w: 11, h: 123, i: '<string>'}],
icon: '<string>',
color: '<string>'
})
};
fetch('https://api.select.dev/v2/dashboards/{dashboard_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.select.dev/v2/dashboards/{dashboard_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'team_id' => '<string>',
'layout' => [
],
'filters' => [
'<unknown>'
],
'date_range' => [
'relative_shortcut' => '<string>',
'start_date' => '<string>',
'end_date' => '<string>'
],
'freeform_layout' => [
[
'x' => 1,
'y' => 1,
'w' => 11,
'h' => 123,
'i' => '<string>'
]
],
'icon' => '<string>',
'color' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"x-tenant-id: <x-tenant-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.select.dev/v2/dashboards/{dashboard_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-tenant-id", "<x-tenant-id>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.select.dev/v2/dashboards/{dashboard_id}")
.header("x-tenant-id", "<x-tenant-id>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.select.dev/v2/dashboards/{dashboard_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-tenant-id"] = '<x-tenant-id>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"visibility": "private",
"status": "draft",
"created_by": "<string>",
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>",
"description": "<string>",
"team_id": "<string>",
"updated_by": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"time_grain": "day",
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"id": "<string>",
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none",
"comparison_period": "previous_period"
},
"description": "",
"tooltip": "",
"query_scope": {
"filters": [],
"overrides_dashboard_date_range": false,
"overrides_dashboard_time_grain": false,
"hide_incomplete_periods": false
}
},
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>"
}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}dashboards
Update a dashboard
Applies a merge patch to a dashboard. Omitted fields remain unchanged; an explicit null clears a nullable field. Blocks are managed separately.
PATCH
/
dashboards
/
{dashboard_id}
Update a dashboard
curl --request PATCH \
--url https://api.select.dev/v2/dashboards/{dashboard_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-tenant-id: <x-tenant-id>' \
--data '
{
"name": "<string>",
"description": "<string>",
"team_id": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>"
}
'import requests
url = "https://api.select.dev/v2/dashboards/{dashboard_id}"
payload = {
"name": "<string>",
"description": "<string>",
"team_id": "<string>",
"layout": {},
"filters": ["<unknown>"],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>"
}
headers = {
"x-tenant-id": "<x-tenant-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {
'x-tenant-id': '<x-tenant-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: '<string>',
description: '<string>',
team_id: '<string>',
layout: {},
filters: ['<unknown>'],
date_range: {relative_shortcut: '<string>', start_date: '<string>', end_date: '<string>'},
freeform_layout: [{x: 1, y: 1, w: 11, h: 123, i: '<string>'}],
icon: '<string>',
color: '<string>'
})
};
fetch('https://api.select.dev/v2/dashboards/{dashboard_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.select.dev/v2/dashboards/{dashboard_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'team_id' => '<string>',
'layout' => [
],
'filters' => [
'<unknown>'
],
'date_range' => [
'relative_shortcut' => '<string>',
'start_date' => '<string>',
'end_date' => '<string>'
],
'freeform_layout' => [
[
'x' => 1,
'y' => 1,
'w' => 11,
'h' => 123,
'i' => '<string>'
]
],
'icon' => '<string>',
'color' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json",
"x-tenant-id: <x-tenant-id>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.select.dev/v2/dashboards/{dashboard_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-tenant-id", "<x-tenant-id>")
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.select.dev/v2/dashboards/{dashboard_id}")
.header("x-tenant-id", "<x-tenant-id>")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.select.dev/v2/dashboards/{dashboard_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-tenant-id"] = '<x-tenant-id>'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"team_id\": \"<string>\",\n \"layout\": {},\n \"filters\": [\n \"<unknown>\"\n ],\n \"date_range\": {\n \"relative_shortcut\": \"<string>\",\n \"start_date\": \"<string>\",\n \"end_date\": \"<string>\"\n },\n \"freeform_layout\": [\n {\n \"x\": 1,\n \"y\": 1,\n \"w\": 11,\n \"h\": 123,\n \"i\": \"<string>\"\n }\n ],\n \"icon\": \"<string>\",\n \"color\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"name": "<string>",
"visibility": "private",
"status": "draft",
"created_by": "<string>",
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>",
"description": "<string>",
"team_id": "<string>",
"updated_by": "<string>",
"layout": {},
"filters": [
"<unknown>"
],
"date_range": {
"relative_shortcut": "<string>",
"start_date": "<string>",
"end_date": "<string>"
},
"time_grain": "day",
"freeform_layout": [
{
"x": 1,
"y": 1,
"w": 11,
"h": 123,
"i": "<string>"
}
],
"icon": "<string>",
"color": "<string>",
"blocks": [
{
"id": "<string>",
"config": {
"query_class": "<string>",
"title": "<string>",
"block_type": "big_number",
"display": {
"metric": "<string>",
"previous_period_comparison": "none",
"comparison_period": "previous_period"
},
"description": "",
"tooltip": "",
"query_scope": {
"filters": [],
"overrides_dashboard_date_range": false,
"overrides_dashboard_time_grain": false,
"hide_incomplete_periods": false
}
},
"create_time": "<string>",
"update_time": "<string>",
"etag": "<string>"
}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}{
"title": "<string>",
"status": 123,
"detail": "<string>",
"code": "validation_failed",
"retryable": true,
"type": "about:blank",
"details": [
{}
]
}Headers
Body
application/json
Changes to apply to a dashboard.
Omitted fields remain unchanged. An explicit null clears a nullable field. Blocks are managed through the dashboard's block collection.
Response
Successful Response
A configurable collection of blocks for monitoring related information.

