---
title: "PUT /v1/template/{uid}"
method: PUT
path: "/v1/template/{uid}"
tags: ["Template"]
---

# PUT /v1/template/{uid}

`PUT /v1/template/{uid}`

## Path parameters

- `uid` string, required

## Request body

- RabbitApiV1UpdateTemplateRequest
  - `uid` string
  - `name` string
  - `messageType` integer
  - `jsonData` string — Email template JSON: {"subject":"string","body":"string","content_type":"string","headers":{"key":["value1","value2"]}} SMS template JSON: {"content":"string","params":{"key":"value"}} Webhook template JSON: {}

## Response `200`

OK

- RabbitApiV1UpdateTemplateReply

---

[API](https://skmtc.net/aide-family/apis/untitled-api.md) · [All operations](https://skmtc.net/aide-family/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aide-family/untitled-api/versions/695b37f99d58/schema)
