Skip to main content
Version: 5.7.0

SysUpdateMessage

tip

This method is available in Cloud Code scripts only.

Update the content of the specified message.

ServiceOperation
messagingSYS_UPDATE_MESSAGE

Method Parameters

ParameterDescription
msgIdThe id of the message to update.
msgVerThe version of the message.
contentThe new content to write to the message.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"status": 200,
"data": {
"actual": 0,
"requested": 1,
"msgId": "e7d15e38-1bc7-40bd-aecf-80ea38b11992"
}
}
Common Error Code

Status Codes

CodeNameDescription
40601FEATURE_NOT_ENABLEDMessaging feature is not enabled for app.