---
title: "PUT /api/internal/workspace-templates/{name}"
method: PUT
path: "/api/internal/workspace-templates/{name}"
tags: ["Internal"]
---

# PUT /api/internal/workspace-templates/{name}

`PUT /api/internal/workspace-templates/{name}`

## Path parameters

- `name` string, required

## Request body

- object
  - `content` string, required
  - `writeMode` 'seed' | 'inject'
  - `status` 'active' | 'inactive'

## Response `200`

Upserted template

- object
  - `ok` boolean, required
  - `name` string, required
  - `version` integer, required

---

[API](https://skmtc.net/nexu-io/apis/nexu-controller-api.md) · [All operations](https://skmtc.net/nexu-io/apis/nexu-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nexu-io/nexu-controller-api/revisions/ee3237405da6/schema)
