provider dashboards POST /api/projects/{project_id}/dashboards/{id}/reorder_tiles/
@utdk/posthog /api/projects/{project_id}/dashboards/{id}/reorder_tiles/
dashboards_reorder_tiles_create
format query
enum: json, txt
id path required
A unique integer value identifying this dashboard.
integer
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string

Try it

Authentication
Configure credentials for PostHog API
dashboardsReorderTilesCreate
POST/api/projects/{project_id}/dashboards/{id}/reorder_tiles/

Parameters

required

A unique integer value identifying this dashboard.

required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Input

required

Array of tile IDs in the desired display order (top to bottom, left to right).

How to size tiles when reordering. 'preserve' (default) keeps each tile's existing width and height and only repacks positions in the new order. 'two_column' forces a 6-wide × 5-tall grid (two tiles per row). 'full_width' forces each tile to span the full 12-column row at height 5. * `preserve` - preserve * `two_column` - two_column * `full_width` - full_width

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.dashboardsReorderTilesCreate({
  "layout": "preserve"
})