API Reference
Delete a dashboard template
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 bearerAPI key token (envoy_<hex>). Create keys from Settings → API Keys — see Using the API.
Path parameters
idintegerrequiredResource ID
Success response body
200Template deleted
Template deleted
Content typeapplication/json
responseobject2 properties
okbooleanorphaned_dashboard_countintegerJob dashboards that lost their template link
Error responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}