Skip to main content
PATCH
Partially update a chart

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chart_id
string
required

Body

application/json

PATCH /charts/{id} — all fields optional

name
string | null
Required string length: 1 - 255
title
string | null
Required string length: 1 - 120
description
string | null
chart_type
enum<string> | null
Available options:
bar,
line,
pie,
donut,
scatter,
area,
heatmap,
table,
stat,
histogram
source
DataSourceSchema · object | null
theme
ThemeSchema · object | null
dimensions
DimensionsSchema · object | null
refresh_interval
integer | null
filters
FilterSchema · object[] | null
permissions
string[] | null
config
Config · object | null
organization_id
string | null
project_id
string | null

Response

Successful Response

Single chart returned by the API.

name
string
required
Required string length: 1 - 255
id
string
required
title
string
required
description
string | null
required
chart_type
enum<string>
required
Available options:
bar,
line,
pie,
donut,
scatter,
area,
heatmap,
table,
stat,
histogram
source
DataSource · object
required
theme
Theme · object
required
dimensions
Dimensions · object
required
refresh_interval
integer | null
required
filters
Filter · object[]
required
permissions
string[]
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
created_by
string | null
required
organization_id
string
required
config
Config · object
project_id
string
default:thaink2