---
title: "Update Template"
method: PUT
path: "/api/v1/pipeline_templates/{slug}"
tags: ["Pipeline Templates (Deprecated)"]
---

# Update Template

`PUT /api/v1/pipeline_templates/{slug}`

Update template metadata. Admin-only.

## Path parameters

- `slug` string, required

## Cookies

- `wos-session` string
- `datalab_active_team` string

## Response `200`

Successful Response

- TemplateDetailResponse — Detailed template info.
  - `processor_id` string, required
  - `slug` string, required
  - `name` string, nullable
  - `template_description` string, nullable
  - `template_category` string, nullable
  - `request_description` string, nullable
  - `example_files` TemplateExampleFile[]
    - `filename` string, required
    - `file_size` integer, nullable
    - `content_type` string
  - `display_config` TemplateDisplayConfig — Configuration for how the UI should display template results.
    - `recommended_view` string, nullable — Which viewer tab to auto-select: 'blocks', 'html_rendered', 'html_raw', 'markdown', 'json'
    - `changes_description` string, nullable — Human-readable summary of what this template changes
    - `highlight_css` string, nullable — CSS rules to inject into the HTML viewer to highlight template changes

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/datalab/apis/datalab-api.md) · [All operations](https://skmtc.dev/datalab/apis/datalab-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datalab/datalab-api/revisions/aa9f8ee18efb/schema)
