@Summary Archive template version @ID archive-template-version @Security CoderSessionToken @Produce json @Tags Templates @Param templateversion path string true "Template version ID" format(uuid) @Success 200 {object} codersdk.Response @Router /api/v2/templateversions/{templateversion}/archive [post
()
| 1256 | // @Success 200 {object} codersdk.Response |
| 1257 | // @Router /api/v2/templateversions/{templateversion}/archive [post] |
| 1258 | func (api *API) postArchiveTemplateVersion() func(rw http.ResponseWriter, r *http.Request) { |
| 1259 | return api.setArchiveTemplateVersion(true) |
| 1260 | } |
| 1261 | |
| 1262 | // @Summary Unarchive template version |
| 1263 | // @ID unarchive-template-version |
no test coverage detected