API Reference
Archive a dashboard template
PATCH
/api/dashboard-templates/{id}/archive
Archive a dashboard template
Operation IDarchiveDashboardTemplate
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
200Archived template
Archived template
Content typeapplication/json
responseobject9 properties
idintegerjob_template_idintegernamestringdescriptionstring | nullyaml_contentstringstatusstringcreated_atstring · date-timeupdated_atstring | null · date-timelinked_dashboard_countintegerPresent on GET detail — count of job dashboards referencing this template
Error responses
404Resource not found
Resource not found
Content typeapplication/json
responseobject2 properties
errorstringmessagestringExample response
{
"error": "NOT_FOUND",
"message": "Resource not found"
}