Start typing to search.

API Reference

Delete a dashboard template

View Markdown
DELETE /api/dashboard-templates/{id}

Deletes the template. Existing job dashboards keep their snapshotted YAML; dashboard_template_id is set NULL (FK ON DELETE SET NULL).

Operation IDdeleteDashboardTemplate

Authentication

  • BearerAuth·http bearer·API key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.

Path parameters

idintegerrequired

Resource ID

Success response body

200Template deleted

Template deleted

Content typeapplication/json

responseobject
2 properties
okboolean
orphaned_dashboard_countinteger

Job dashboards that lost their template link

Error responses

404Resource not found

Resource not found

Content typeapplication/json

responseobject
2 properties
errorstring
messagestring
Example response
{
  "error": "NOT_FOUND",
  "message": "Resource not found"
}