provider dashboards POST /api/environments/{environment_id}/dashboards/{id}/reorder_tiles/
@utdk/posthog /api/environments/{environment_id}/dashboards/{id}/reorder_tiles/
environments_dashboards_reorder_tiles_create
environment_id path required
Deprecated. Use /api/projects/{project_id}/ instead.
string
format query
enum: json, txt
id path required
A unique integer value identifying this dashboard.
integer

Try it

Authentication
Configure credentials for PostHog API
environmentsDashboardsReorderTilesCreate
POST/api/environments/{environment_id}/dashboards/{id}/reorder_tiles/

Parameters

required

Deprecated. Use /api/projects/{project_id}/ instead.

required

A unique integer value identifying this dashboard.

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.environmentsDashboardsReorderTilesCreate({
  "layout": "preserve"
})