---
title: "Updates message template"
method: PUT
path: "/v1/template_categories/{id}"
tags: ["template_categories"]
---

# Updates message template

`PUT /v1/template_categories/{id}`

## Request

- Base URL: `https://apiv1.linkmobility.eu/api`
- URL: `https://apiv1.linkmobility.eu/api/v1/template_categories/{id}`
- Auth: none declared

## Path parameters

- `id` integer, required

## Request body

- MessageTemplateCategoryRequest
  - `name` string, required: message template name
  - `messageType` string, required: message type (default, voice, whatsapp, rcs)

## Response `200`

OK

- MessageTemplateCategoryResponse
  - `name` string, required: message template name
  - `messageType` string, required: message type (default, voice, whatsapp, rcs)
  - `id` integer, required: message template category id
  - `createdBy` string: created by
  - `created` string, date-time: created
  - `lastModifiedBy` string: last modified by
  - `lastModified` string, date-time: last modified
  - `links` Link[]: links
    - `rel` string
    - `href` string

## Other responses

- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/linkmobility/apis/linkmobility-api.md) - [All operations](https://skmtc.dev/linkmobility/apis/linkmobility-api/llms.txt) - [OpenAPI document](https://skmtc.dev/linkmobility/apis/linkmobility-api/revisions/029548691274?raw)
