Function: setDashboardItemProperty()
ts
function setDashboardItemProperty(
client,
parameters,
options?
): Promise<void>;Defined in: src/server/api/dashboards.ts:63
Sets the value of the property with a given key on the dashboard item identified by the id.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { body: Record<string, any>; dashboardId: string; itemId: string; propertyKey: string; } | - |
parameters.body | Record<string, any> | - |
parameters.dashboardId? | string | The dashboard id. |
parameters.itemId? | string | The dashboard item on which the property will be set. |
parameters.propertyKey? | string | The key of the dashboard item's property. The maximum length of the key is 255 bytes. |
options? | RequestOptions | - |
Returns
Promise<void>