SysDeleteMessage
Deletes specified system message on the server. Note, if a regular message, deletes all references to it.
Service | Operation |
---|---|
messaging | SYS_DELETE_MESSAGE |
Method Parameters
Parameter | Description |
---|---|
msgId | The id of the message to update. |
msgVer | The version of the message. Use -1 to specify latest version. |
Usage
http://localhost:3000
- C#
- C++
- Objective-C
- Java
- JavaScript
- Dart
- Cloud Code
- Raw
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
// S2S call: to view example, switch to the Cloud Code or Raw tab.
var msgId = "msgId1";
var msgVer = 1;
var messagingProxy = bridge.getMessagingServiceProxy();
var postResult = messagingProxy.sysDeleteMessage(msgId, msgVer);
if (postResult.status == 200) {
// Success!
}
{
"service": "messaging",
"operation": "SYS_DELETE_MESSAGE",
"data": {
"msgId": "msgId1",
"msgVer": 1
}
}