curl --request PUT \
--url https://api.revong.com/api/v1/mail/templates/{messageTemplateId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"name": "<string>",
"category": "<string>",
"desc": "<string>",
"subject": "<string>",
"body": "<string>",
"type": "DEFAULT"
}
'ROLES: RESOURCE_WRITE,RESOURCE_ADMIN USER: true SERVICE ACCOUNT: true
curl --request PUT \
--url https://api.revong.com/api/v1/mail/templates/{messageTemplateId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"version": 123,
"name": "<string>",
"category": "<string>",
"desc": "<string>",
"subject": "<string>",
"body": "<string>",
"type": "DEFAULT"
}
'Bearer token with Platform JWT token or API Key.
OK.