Pause, activate & de-register a notification
Method : POST
URI : /db/notification/state
Body :
{"notifid":"<notifid>","state":<0,1,-1>}
Example
curl -H "Content-Type: application/json" -d'{"notifid":1234,"state":0}' -X POST http://192.168.1.105:18080/db/notification/state
Response
{
"errcode":0,
"error":[
"[SUCCESS] notification template with notifid [ 1234 ] state has been changed properly"
]
}