---
title: "Modifies an event message in the system by providing ID and by accepting event message data in the request body"
method: PUT
path: "/message/{id}"
tags: ["Event Message"]
---

# Modifies an event message in the system by providing ID and by accepting event message data in the request body

`PUT /message/{id}`

## Path parameters

- `id` integer, required

## Request body

- MessageResource
  - `templateId` integer
  - `name` string
  - `type` string
  - `content` ContentResource[]
    - `contentId` integer
    - `subject` string
    - `body` string
    - `language` string

## Response `200`

Event Message has been successfully deleted

- MessageResource
  - `templateId` integer
  - `name` string
  - `type` string
  - `content` ContentResource[]
    - `contentId` integer
    - `subject` string
    - `body` string
    - `language` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Error
- `502` — Bad Gateway

---

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