dashboards

Soft-delete up to 100 dashboards. Optionally delete insights with no remaining dashboard. Report missing or inaccessible dashboards as skipped.

post/api/projects/{project_id}/dashboards/bulk_delete/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/dashboards/bulk_delete/
  • Auth: HTTP bearer

Path parameters

project_idstring required

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

Request body

idsinteger[] required

Dashboard IDs to soft-delete. At most 100 IDs per request.

delete_insightsboolean

Also delete insights that have no remaining dashboard after deletion. Defaults to false.

Response

deletedinteger[] required

IDs of dashboards that were soft-deleted.

Changes