v4

latestOpenAPI 3.0.1Apache 2.02026-08-016169702.3 MB
Dashboards

Update gadget on dashboard

Changes the title, position, and color of the gadget on a dashboard.

Permissions required: None.

put/rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}

Path parameters

dashboardIdinteger required

The ID of the dashboard.

gadgetIdinteger required

The ID of the gadget.

Request body

colorstring

The color of the gadget. Should be one of blue, red, yellow, green, cyan, purple, gray, or white.

titlestring

The title of the gadget.

Response

Returned if the request is successful.

{"stackTrail":"paths:/rest/api/3/dashboard/{dashboardId}/gadget/{gadgetId}:put:responses:204:content:application/json:schema","oasType":"schema","type":"unknown"}