automation-suite
2.2510
true
- Getting started
- Authentication
- Scopes and permissions
- Platform Management APIs
- Retrieving partitionGlobalId for API use
- Alerts
- Get message template
- Update a message template
- Get message template by name
Automation Suite API guide
Updates an existing message template, by the template ID.
API endpoint
PUT https://{yourDomain}/{organizationName}/identity_/api/MessageTemplate/{templateId}
Scopes
Requires the following scopes:
PM.MessageTemplatePM.MessageTemplate.Write
Request headers
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
--header 'Authorization: Bearer {access_token}'\
--header 'Content-Type: application/json'
Path parameters
| Parameter | Data type | Description |
|---|---|---|
templateId | String | Required. The ID of message template you want to update. |
Request body
The request body contains the message ID and the new content.
{
"id": 0,
"value": "string"
}
{
"id": 0,
"value": "string"
}
Responses
200 OK
The message template gets updated and returns the new information.
{
"id": 0,
"name": "string",
"value": "string"
}
{
"id": 0,
"name": "string",
"value": "string"
}