dashboard_templates

Copy a team template to this project

Creates a new team-scoped template in the target project (URL) from a team-scoped source template in the same organization. Global and feature-flag templates return 400. Cross-organization or inaccessible sources return 404. Source and destination projects must differ (400 if equal). Conflicting template_name values on the destination are auto-suffixed with (copy), (copy 2), …

post/api/projects/{project_id}/dashboard_templates/copy_between_projects/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/dashboard_templates/copy_between_projects/
  • Auth: none declared

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

source_template_idstring uuid required

UUID of a team-scoped template in the same organization. Global and feature-flag templates cannot be copied with this endpoint.

Response

idstring uuid required
template_namestring nullable
dashboard_descriptionstring nullable
dashboard_filtersunknown
tagsstring[] nullable
tilesunknown
variablesunknown
deletedboolean nullable
created_atstring date-time nullable required
image_urlstring nullable
team_idinteger nullable required
availability_contextsstring[] nullable
is_featuredboolean

Manually curated; used to highlight templates in the UI.

Changes

No recorded changes to this operation across all 1 revision of this API.