cURL
curl --request PUT \ --url https://api.gleap.io/v3/message-templates/{messageTemplateId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'project: <project>' \ --data '{ "title": "<string>", "content": "<any>", "lexorank": "<string>", "isPublic": true, "users": [ "<string>" ], "attachments": [ "<any>" ], "actions": [ { "data": "<any>", "type": "<string>" } ] }'
{ "updatedAt": "<string>", "createdAt": "<string>", "lexorank": "<string>", "project": { "isValid": {}, "createFromHexString": {}, "createFromTime": {}, "generate": {}, "cacheHexString": "<any>", "prototype": "<string>" }, "content": "<any>", "title": "<string>", "actions": [ "<any>" ], "attachments": [ "<any>" ], "isPublic": true, "users": [ "<string>" ] }
Update a message template.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Ok
The response is of type object.
object