Core
IoT Platform v2.x
2

update #

Applies partial changes to a notification rule.


Query Syntax #

URL: http://kuzzle:7512/_/notification-rules/:index/:_id
Method: PUT
Body:
{
  // rule changes
}

Javascript #

kuzzle.query({
  controller: 'notifications',
  action: 'update',
  index: '<index>',
  _id: '<notification rule id>',
  body: {
    // rule changes
  },
});

Arguments #

  • index: Tenant index
  • _id: Notification rule ID